µOS++ POSIX I/O C++ functions. More...
| int | os::posix::mkdir (const char *path, mode_t mode) |
| int | os::posix::rmdir (const char *path) |
| void | os::posix::sync (void) |
| int | os::posix::chmod (const char *path, mode_t mode) |
| int | os::posix::stat (const char *path, struct stat *buf) |
| int | os::posix::truncate (const char *path, off_t length) |
| int | os::posix::rename (const char *existing, const char *_new) |
| int | os::posix::unlink (const char *path) |
| int | os::posix::utime (const char *path, const utimbuf *times) |
| int | os::posix::statvfs (const char *path, struct statvfs *buf) |
| directory * | os::posix::opendir (const char *dirname) |
| Open directory. | |
| io * | os::posix::open (const char *path, int oflag,...) |
| io * | os::posix::vopen (const char *path, int oflag, std::va_list args) |
| socket * | os::posix::socket (int domain, int type, int protocol) |
This page groups the functions providing support for standard POSIX I/O operations.x
TODO: add content
| int os::posix::chmod | ( | const char * | path, |
| mode_t | mode | ||
| ) |
Definition at line 155 of file file-system.cpp.
References os::posix::file_system::identify_mounted(), and os::trace::printf().
Referenced by __posix_chmod().
| int os::posix::mkdir | ( | const char * | path, |
| mode_t | mode | ||
| ) |
Definition at line 62 of file file-system.cpp.
References os::posix::file_system::identify_mounted(), and os::trace::printf().
Referenced by __posix_mkdir().
| io * os::posix::open | ( | const char * | path, |
| int | oflag, | ||
| ... | |||
| ) |
Definition at line 49 of file io.cpp.
References os::posix::vopen().
| directory * os::posix::opendir | ( | const char * | dirname | ) |
| dirname | [in] Directory name. |
directory object. Definition at line 380 of file file-system.cpp.
References os::posix::device_registry< T >::identify_device(), os::posix::file_system::identify_mounted(), and os::trace::printf().
Referenced by __posix_opendir().
| int os::posix::rename | ( | const char * | existing, |
| const char * | _new | ||
| ) |
Definition at line 254 of file file-system.cpp.
References os::posix::file_system::identify_mounted(), and os::trace::printf().
Referenced by __posix_rename().
| int os::posix::rmdir | ( | const char * | path | ) |
Definition at line 94 of file file-system.cpp.
References os::posix::file_system::identify_mounted(), and os::trace::printf().
Referenced by __posix_rmdir().
| class socket * os::posix::socket | ( | int | domain, |
| int | type, | ||
| int | protocol | ||
| ) |
Definition at line 62 of file net-stack.cpp.
References os::posix::io::alloc_file_descriptor(), and os::posix::net_stack::socket().
| int os::posix::stat | ( | const char * | path, |
| struct stat * | buf | ||
| ) |
Definition at line 186 of file file-system.cpp.
References os::posix::file_system::identify_mounted(), and os::trace::printf().
Referenced by __posix_stat().
| int os::posix::statvfs | ( | const char * | path, |
| struct statvfs * | buf | ||
| ) |
Definition at line 349 of file file-system.cpp.
References os::posix::file_system::identify_mounted(), and os::trace::printf().
Referenced by __posix_statvfs().
| void os::posix::sync | ( | void | ) |
Definition at line 126 of file file-system.cpp.
References os::trace::printf().
Referenced by __posix_sync().
| int os::posix::truncate | ( | const char * | path, |
| off_t | length | ||
| ) |
Definition at line 217 of file file-system.cpp.
References os::posix::file_system::identify_mounted(), and os::trace::printf().
Referenced by __posix_truncate().
| int os::posix::unlink | ( | const char * | path | ) |
Definition at line 287 of file file-system.cpp.
References os::posix::file_system::identify_mounted(), and os::trace::printf().
Referenced by __posix_unlink().
| int os::posix::utime | ( | const char * | path, |
| const utimbuf * | times | ||
| ) |
Definition at line 318 of file file-system.cpp.
References os::posix::file_system::identify_mounted(), os::trace::printf(), and times().
Referenced by __posix_utime().
| io * os::posix::vopen | ( | const char * | path, |
| int | oflag, | ||
| std::va_list | args | ||
| ) |
The actual open workhorse. Using the path, try to identify the io object, then call the implementation. If successful, allocate a new POSIX file descriptor, to be used by C functions.
Definition at line 66 of file io.cpp.
References os::posix::io::file_descriptor(), os::posix::device_registry< T >::identify_device(), os::posix::file_system::identify_mounted(), os::trace::printf(), and os::posix::vopen().
Referenced by __posix_open(), os::posix::open(), and os::posix::vopen().