13 switch (errno_input) {
53 switch (errno_input) {
108 switch (errno_input) {
133 switch (errno_input) {
149 switch (posix_status) {
171 switch (posix_status) {
int PlatformIntType
DefaultTypes.hpp provides fallback defaults for the platform types.
@ DOESNT_EXIST
Directory doesn't exist.
@ NO_PERMISSION
No permission to read directory.
@ OP_OK
Operation was successful.
@ NOT_DIR
Path is not a directory.
@ OTHER_ERROR
A catch-all for other errors. Have to look in implementation-specific code.
@ ALREADY_EXISTS
Directory already exists.
@ NOT_SUPPORTED
Kernel or file system does not support operation.
@ INVALID_ARGUMENT
Invalid argument passed in.
@ NO_PERMISSION
No permission to read/write file.
@ NOT_OPENED
file hasn't been opened yet
@ OTHER_ERROR
A catch-all for other errors. Have to look in implementation-specific code.
@ OP_OK
Operation was successful.
@ DOESNT_EXIST
File doesn't exist (for read)
@ FILE_EXISTS
file already exist (for CREATE with O_EXCL enabled)
@ ALREADY_EXISTS
File already exists.
@ NO_PERMISSION
No permission to write.
@ OP_OK
Operation was successful.
@ NOT_DIR
Path is not a directory.
@ OTHER_ERROR
other OS-specific error
@ NOT_SUPPORTED
Operation is not supported by the current implementation.
@ BUFFER_TOO_SMALL
Buffer size is too small to hold full path (for getWorkingDirectory)
@ DOESNT_EXIST
Path doesn't exist.
@ FILE_LIMIT
Too many files or links.
@ INVALID_PATH
Path is too long, too many sym links, etc.
@ OP_OK
Operation was successful.
@ ERROR_BUSY
Mutex is busy.
@ ERROR_DEADLOCK
Deadlock condition detected.
@ ERROR_OTHER
All other errors.
@ INVALID_PARAMS
Parameters invalid for current platform.
@ OP_OK
Operation was successful.
@ OTHER_ERROR
All other errors.
@ OP_OK
message sent/received okay
@ UNKNOWN_ERROR
unexpected error return value
@ ERROR_PERMISSION
permissions error setting-up tasks
@ INVALID_PARAMS
started task with invalid parameters
@ ERROR_RESOURCES
unable to allocate more tasks
File::Status errno_to_file_status(PlatformIntType errno_input)
Directory::Status errno_to_directory_status(PlatformIntType errno_input)
FileSystem::Status errno_to_filesystem_status(PlatformIntType errno_input)
Task::Status posix_status_to_task_status(PlatformIntType posix_status)
Mutex::Status posix_status_to_mutex_status(PlatformIntType posix_status)
RawTime::Status errno_to_rawtime_status(PlatformIntType errno_input)