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)
- In
Dir.c:26:
const char *DirEntryTypeToZstr(DirEntryType type) {
switch (type) {
case SYS_DIR_ENTRY_TYPE_UNKNOWN :
Last updated on