13 switch (errno_input) {
23 status = File::Status::DOESNT_EXIST;
31 status = File::Status::FILE_EXISTS;
34 status = File::Status::NOT_OPENED;
39 status = File::Status::NOT_SUPPORTED;
42 status = File::Status::INVALID_ARGUMENT;
53 switch (posix_status) {
58 status = Task::Status::INVALID_PARAMS;
61 status = Task::Status::ERROR_PERMISSION;
64 status = Task::Status::ERROR_RESOURCES;
67 status = Task::Status::UNKNOWN_ERROR;
int PlatformIntType
DefaultTypes.hpp provides fallback defaults for the platform types.
@ OP_OK
Operation was successful.
@ NO_PERMISSION
No permission to write.
@ OTHER_ERROR
other OS-specific error
File::Status errno_to_file_status(PlatformIntType errno_input)
Task::Status posix_status_to_task_status(PlatformIntType posix_status)