CACAO
Data Structures | Functions
os.hpp File Reference

Go to the source code of this file.

Data Structures

class  os
 

Functions

static int system_fsync (int fd)
 
static int system_ftruncate (int fd, off_t length)
 
static off_t system_lseek (int fildes, off_t offset, int whence)
 
static int system_open (const char *pathname, int flags, mode_t mode)
 
static ssize_t system_read (int fd, void *buf, size_t count)
 
static voidsystem_realloc (void *ptr, size_t size)
 
static ssize_t system_write (int fd, const void *buf, size_t count)
 

Function Documentation

static int system_fsync ( int  fd)
inlinestatic

Definition at line 379 of file os.hpp.

static int system_ftruncate ( int  fd,
off_t  length 
)
inlinestatic

Definition at line 388 of file os.hpp.

static off_t system_lseek ( int  fildes,
off_t  offset,
int  whence 
)
inlinestatic

Definition at line 474 of file os.hpp.

static int system_open ( const char *  pathname,
int  flags,
mode_t  mode 
)
inlinestatic

Definition at line 519 of file os.hpp.

static ssize_t system_read ( int  fd,
void buf,
size_t  count 
)
inlinestatic

Definition at line 528 of file os.hpp.

static void* system_realloc ( void ptr,
size_t  size 
)
inlinestatic

Definition at line 546 of file os.hpp.

static ssize_t system_write ( int  fd,
const void buf,
size_t  count 
)
inlinestatic

Definition at line 681 of file os.hpp.