µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
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
 

Typedefs

using circular_buffer_bytes = circular_buffer< uint8_t >
 Circular buffer of bytes.
 
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 utimbuf *times)
 
int statvfs (const char *path, struct statvfs *buf)
 
directoryopendir (const char *dirname)
 Open directory.
 
ioopen (const char *path, int oflag,...)
 
iovopen (const char *path, int oflag, std::va_list args)
 
socketsocket (int domain, int type, int protocol)
 

Variables

constexpr file_descriptor_t no_file_descriptor = -1
 

Typedef Documentation

◆ file_descriptor_t

using os::posix::file_descriptor_t = typedef int

Definition at line 43 of file types.h.

Variable Documentation

◆ no_file_descriptor

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

Definition at line 45 of file types.h.