unistd.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int xclose (int fd)
 POSIX close(2) equivalent. More...
 
int xgethostname (char *name, size_t nameLength)
 POSIX gethostname(2) equivalent. More...
 
int xopen (const char *filename, int oflag, int pmode=0)
 POSIX open(2) equivalent. More...
 
int xread (int fd, void *buf, size_t bufSize)
 POSIX read(2) equivalent. More...
 
int xwrite (int fd, const void *buf, size_t bufSize)
 POSIX write(2) equivalent. More...
 

Function Documentation

◆ xclose()

◆ xgethostname()

int xgethostname ( char *  name,
size_t  nameLength 
)
inline

Definition at line 49 of file unistd.h.

Referenced by getMyHostname().

◆ xopen()

int xopen ( const char *  filename,
int  oflag,
int  pmode = 0 
)
inline

◆ xread()

◆ xwrite()

 

Introduction

Documentation

Support

Miscellaneous