µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
os::posix Namespace Reference

Classes

class  block_device
 Block device class. More...
 
class  block_device_impl
 
class  block_device_implementable
 
class  block_device_lockable
 
class  block_device_partition
 Block device partition class. More...
 
class  block_device_partition_impl
 
class  block_device_partition_implementable
 
class  block_device_partition_lockable
 
class  char_device
 Char device class. More...
 
class  char_device_impl
 
class  char_device_implementable
 
class  circular_buffer
 Circular buffer class template. More...
 
class  device
 Base device class. More...
 
class  device_impl
 
class  device_registry
 Devices registry static class. More...
 
class  device_serial_buffered
 Buffered serial driver class template. More...
 
class  directory
 Directory class. More...
 
class  directory_impl
 
class  directory_implementable
 
class  directory_lockable
 
class  file
 File class. More...
 
class  file_descriptors_manager
 File descriptors manager static class. More...
 
class  file_impl
 
class  file_implementable
 
class  file_lockable
 
class  file_system
 File system class. More...
 
class  file_system_impl
 
class  file_system_implementable
 
class  file_system_lockable
 
class  io
 Base I/O class. More...
 
class  io_impl
 
class  net_interface
 Network interface class. More...
 
class  net_stack
 Network stack class. More...
 
class  net_stack_impl
 
class  net_stack_implementable
 
class  net_stack_lockable
 
class  socket
 Network socket. More...
 
class  socket_impl
 
class  socket_implementable
 
class  socket_lockable
 
class  tty
 
class  tty_impl
 
class  tty_implementable
 

Types

using circular_buffer_bytes = circular_buffer< uint8_t >
 Circular buffer of bytes. More...
 
using file_descriptor_t = int
 

Functions

int mkdir (const char *path, mode_t mode)
 
int rmdir (const char *path)
 
void sync (void)
 
int chmod (const char *path, mode_t mode)
 
int stat (const char *path, struct stat *buf)
 
int truncate (const char *path, off_t length)
 
int rename (const char *existing, const char *_new)
 
int unlink (const char *path)
 
int utime (const char *path, const struct utimbuf *times)
 
int statvfs (const char *path, struct statvfs *buf)
 
directoryopendir (const char *dirname)
 Open directory. More...
 
ioopen (const char *path, int oflag,...)
 
iovopen (const char *path, int oflag, std::va_list args)
 
class socketsocket (int domain, int type, int protocol)
 

Variables

constexpr file_descriptor_t no_file_descriptor = -1
 

Types

◆ file_descriptor_t

using os::posix::file_descriptor_t = typedef int

Definition at line 49 of file types.h.

Variable Documentation

◆ no_file_descriptor

constexpr file_descriptor_t os::posix::no_file_descriptor = -1

Definition at line 51 of file types.h.