llvm-mos-sdk
Macros | Typedefs | Functions
unistd.h File Reference

Go to the source code of this file.

Macros

#define STDIN_FILENO   0
 
#define STDOUT_FILENO   1
 
#define STDERR_FILENO   2
 

Typedefs

typedef unsigned size_t
 
typedef long int off_t
 

Functions

int write (int fd, const void *buf, unsigned count)
 
int read (int fd, void *buf, unsigned count)
 
off_t lseek (int fd, off_t offset, int whence)
 
int unlink (const char *name)
 
int chdir (const char *name)
 
char * getcwd (char *buf, size_t size)
 
int mkdir (const char *name,...)
 
int rmdir (const char *name)
 
unsigned sleep (unsigned seconds)
 

Macro Definition Documentation

◆ STDERR_FILENO

#define STDERR_FILENO   2

◆ STDIN_FILENO

#define STDIN_FILENO   0

◆ STDOUT_FILENO

#define STDOUT_FILENO   1

Typedef Documentation

◆ off_t

typedef long int off_t

◆ size_t

typedef unsigned size_t

Function Documentation

◆ chdir()

int chdir ( const char *  name)

◆ getcwd()

char* getcwd ( char *  buf,
size_t  size 
)

◆ lseek()

off_t lseek ( int  fd,
off_t  offset,
int  whence 
)

◆ mkdir()

int mkdir ( const char *  name,
  ... 
)

◆ read()

int read ( int  fd,
void *  buf,
unsigned  count 
)

◆ rmdir()

int rmdir ( const char *  name)

◆ sleep()

unsigned sleep ( unsigned  seconds)

◆ unlink()

int unlink ( const char *  name)

◆ write()

int write ( int  fd,
const void *  buf,
unsigned  count 
)