F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Os::Posix Namespace Reference

Namespaces

 Console
 
 Directory
 
 File
 
 FileSystem
 
 Mutex
 
 RawTime
 
 Task
 

Functions

File::Status errno_to_file_status (PlatformIntType errno_input)
 
FileSystem::Status errno_to_filesystem_status (PlatformIntType errno_input)
 
Directory::Status errno_to_directory_status (PlatformIntType errno_input)
 
RawTime::Status errno_to_rawtime_status (PlatformIntType errno_input)
 
Task::Status posix_status_to_task_status (PlatformIntType posix_status)
 
Mutex::Status posix_status_to_mutex_status (PlatformIntType posix_status)
 

Function Documentation

◆ errno_to_directory_status()

Os::Directory::Status Os::Posix::errno_to_directory_status ( PlatformIntType  errno_input)

Convert an errno representation of an error to the Os::FileSystem::Status representation.

Parameters
errno_inputerrno representation of the error
Returns
: Os::Directory::Status representation of the error

Definition at line 106 of file error.cpp.

◆ errno_to_file_status()

Os::File::Status Os::Posix::errno_to_file_status ( PlatformIntType  errno_input)

Convert an errno representation of an error to the Os::File::Status representation.

Parameters
errno_inputerrno representation of the error
Returns
: Os::File::Status representation of the error

Definition at line 11 of file error.cpp.

◆ errno_to_filesystem_status()

Os::FileSystem::Status Os::Posix::errno_to_filesystem_status ( PlatformIntType  errno_input)

Convert an errno representation of an error to the Os::FileSystem::Status representation.

Parameters
errno_inputerrno representation of the error
Returns
: Os::FileSystem::Status representation of the error

Definition at line 51 of file error.cpp.

◆ errno_to_rawtime_status()

Os::RawTime::Status Os::Posix::errno_to_rawtime_status ( PlatformIntType  errno_input)

Convert an errno representation of an error to the Os::RawTime::Status representation.

Parameters
errno_inputerrno representation of the error
Returns
: Os::RawTime::Status representation of the error

Definition at line 131 of file error.cpp.

◆ posix_status_to_mutex_status()

Os::Mutex::Status Os::Posix::posix_status_to_mutex_status ( PlatformIntType  posix_status)

Convert a Posix return status (int) for mutex operations to the Os::Mutex::Status representation.

Parameters
posix_statusreturn status
Returns
: Os::Mutex::Status representation of the error

Definition at line 169 of file error.cpp.

◆ posix_status_to_task_status()

Os::Task::Status Os::Posix::posix_status_to_task_status ( PlatformIntType  posix_status)

Convert an posix task representation of an error to the Os::Task::Status representation.

Parameters
posix_statuserrno representation of the error
Returns
: Os::Task::Status representation of the error

Definition at line 147 of file error.cpp.