ReactOS 0.4.15-dev-7788-g1ad9096
unistd.h File Reference
#include <schily/mconfig.h>
#include <schily/types.h>
#include <schily/inttypes.h>
#include <schily/stdlib.h>
Include dependency graph for unistd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STDIN_FILENO   0
 
#define STDOUT_FILENO   1
 
#define STDERR_FILENO   2
 
#define R_OK   4 /* Test for Read permission */
 
#define W_OK   2 /* Test for Write permission */
 
#define X_OK   1 /* Test for eXecute permission */
 
#define F_OK   0 /* Test for existence of File */
 
#define E_OK   0
 
#define SEEK_SET   0 /* Set file pointer to "offset" */
 
#define SEEK_CUR   1 /* Set file pointer to current plus "offset" */
 
#define SEEK_END   2 /* Set file pointer to EOF plus "offset" */
 

Functions

int access __PR ((const char *, int))
 
int close __PR ((int))
 
int dup2 __PR ((int, int))
 
int link __PR ((const char *, const char *))
 
int read __PR ((int, void *, size_t))
 
int unlink __PR ((const char *))
 
int write __PR ((int, const void *, size_t))
 

Variables

char ** environ
 

Macro Definition Documentation

◆ E_OK

#define E_OK   0

Definition at line 112 of file unistd.h.

◆ F_OK

#define F_OK   0 /* Test for existence of File */

Definition at line 98 of file unistd.h.

◆ R_OK

#define R_OK   4 /* Test for Read permission */

Definition at line 95 of file unistd.h.

◆ SEEK_CUR

#define SEEK_CUR   1 /* Set file pointer to current plus "offset" */

Definition at line 121 of file unistd.h.

◆ SEEK_END

#define SEEK_END   2 /* Set file pointer to EOF plus "offset" */

Definition at line 124 of file unistd.h.

◆ SEEK_SET

#define SEEK_SET   0 /* Set file pointer to "offset" */

Definition at line 118 of file unistd.h.

◆ STDERR_FILENO

#define STDERR_FILENO   2

Definition at line 89 of file unistd.h.

◆ STDIN_FILENO

#define STDIN_FILENO   0

Definition at line 87 of file unistd.h.

◆ STDOUT_FILENO

#define STDOUT_FILENO   1

Definition at line 88 of file unistd.h.

◆ W_OK

#define W_OK   2 /* Test for Write permission */

Definition at line 96 of file unistd.h.

◆ X_OK

#define X_OK   1 /* Test for eXecute permission */

Definition at line 97 of file unistd.h.

Function Documentation

◆ __PR() [1/7]

int unlink __PR ( (const char *)  )

◆ __PR() [2/7]

int link __PR ( (const char *, const char *)  )

◆ __PR() [3/7]

int access __PR ( (const char *, int )

◆ __PR() [4/7]

int close __PR ( (int )

◆ __PR() [5/7]

int write __PR ( (int, const void *, size_t )

◆ __PR() [6/7]

int dup2 __PR ( (int, int )

◆ __PR() [7/7]

int read __PR ( (int, void *, size_t )

Variable Documentation

◆ environ

char** environ
extern