MOS Source Code
Loading...
Searching...
No Matches
io.hpp File Reference
#include "mos/assert.hpp"
#include "mos/mm/mm_types.hpp"
#include "mos/syslog/syslog.hpp"
#include <mos/io/io_types.h>
#include <mos/mm/mm_types.h>
#include <mos/types.hpp>
+ Include dependency graph for io.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IO
 

Enumerations

enum  io_type_t {
  IO_NULL , IO_FILE , IO_DIR , IO_IPC ,
  IO_PIPE , IO_CONSOLE
}
 
enum  io_flags_t {
  IO_NONE = MEM_PERM_NONE , IO_READABLE = MEM_PERM_READ , IO_WRITABLE = MEM_PERM_WRITE , IO_EXECUTABLE = MEM_PERM_EXEC ,
  IO_SEEKABLE = 1 << 3 , IO_MMAPABLE = 1 << 4
}
 

Functions

 MOS_ENUM_FLAGS (io_flags_t, IOFlags)
 

Variables

IO *const io_null
 

Enumeration Type Documentation

◆ io_type_t

enum io_type_t
Enumerator
IO_NULL 
IO_FILE 
IO_DIR 
IO_IPC 
IO_PIPE 
IO_CONSOLE 

Definition at line 16 of file io.hpp.

◆ io_flags_t

enum io_flags_t
Enumerator
IO_NONE 
IO_READABLE 
IO_WRITABLE 
IO_EXECUTABLE 
IO_SEEKABLE 
IO_MMAPABLE 

Definition at line 26 of file io.hpp.

Function Documentation

◆ MOS_ENUM_FLAGS()

MOS_ENUM_FLAGS ( io_flags_t ,
IOFlags  )

Variable Documentation

◆ io_null

IO* const io_null
extern

Definition at line 33 of file io.cpp.

Referenced by process_new().