Skip to content
DirEntryTypeToZstr

DirEntryTypeToZstr

Description

Convert given entry type to a NULL terminated string. Provided string must not be freed as it’s not allocated.

Parameters

Name Direction Description
type in Entry type to get string of.

Success

Null terminated string describing entry type.

Failure

Function cannot fail - always returns valid string.

Usage example (Cross-references)

Usage examples (Cross-references)
    #include "../_Syscall.h"
    
    Zstr DirEntryTypeToZstr(DirEntryType type) {
        switch (type) {
            case DIR_ENTRY_TYPE_UNKNOWN :
Last updated on