GDBserver
Macros | Functions
unistd.h File Reference
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>

Go to the source code of this file.

Macros

#define _GL_INCLUDING_UNISTD_H
 
#define _GL_UNISTD_H
 
#define __need_system_stdlib_h
 
#define _GL_UNISTD_INLINE   _GL_INLINE
 
#define STDIN_FILENO   0
 
#define STDOUT_FILENO   1
 
#define STDERR_FILENO   2
 
#define F_OK   0
 
#define X_OK   1
 
#define W_OK   2
 
#define R_OK   4
 

Functions

 _GL_CXXALIAS_SYS (chdir, int,(const char *file) _GL_ARG_NONNULL((1)))
 
 _GL_CXXALIASWARN (chdir)
 
 _GL_CXXALIAS_SYS (close, int,(int fd))
 
 _GL_CXXALIASWARN (close)
 
 _GL_CXXALIAS_SYS (dup, int,(int oldfd))
 
 _GL_CXXALIASWARN (dup)
 
 _GL_CXXALIAS_SYS (dup2, int,(int oldfd, int newfd))
 
 _GL_CXXALIASWARN (dup2)
 
 _GL_CXXALIAS_SYS (fchdir, int,(int))
 
 _GL_CXXALIASWARN (fchdir)
 
 _GL_CXXALIAS_SYS_CAST (getcwd, char *,(char *buf, size_t size))
 
 _GL_CXXALIASWARN (getcwd)
 
 _GL_CXXALIAS_SYS (getdtablesize, int,(void))
 
 _GL_CXXALIASWARN (getdtablesize)
 
 _GL_CXXALIAS_SYS_CAST (getlogin_r, int,(char *name, size_t size))
 
 _GL_CXXALIASWARN (getlogin_r)
 
 _GL_CXXALIAS_SYS (readlink, ssize_t,(const char *file, char *buf, size_t bufsize))
 
 _GL_CXXALIASWARN (readlink)
 
 _GL_CXXALIAS_SYS (rmdir, int,(char const *name))
 
 _GL_CXXALIASWARN (rmdir)
 

Macro Definition Documentation

◆ __need_system_stdlib_h

#define __need_system_stdlib_h

Definition at line 83 of file unistd.h.

◆ _GL_INCLUDING_UNISTD_H

#define _GL_INCLUDING_UNISTD_H

Definition at line 39 of file unistd.h.

◆ _GL_UNISTD_H

#define _GL_UNISTD_H

Definition at line 53 of file unistd.h.

◆ _GL_UNISTD_INLINE

#define _GL_UNISTD_INLINE   _GL_INLINE

Definition at line 139 of file unistd.h.

◆ F_OK

#define F_OK   0

Definition at line 584 of file unistd.h.

◆ R_OK

#define R_OK   4

Definition at line 587 of file unistd.h.

◆ STDERR_FILENO

#define STDERR_FILENO   2

Definition at line 579 of file unistd.h.

◆ STDIN_FILENO

#define STDIN_FILENO   0

Definition at line 573 of file unistd.h.

◆ STDOUT_FILENO

#define STDOUT_FILENO   1

Definition at line 576 of file unistd.h.

◆ W_OK

#define W_OK   2

Definition at line 586 of file unistd.h.

◆ X_OK

#define X_OK   1

Definition at line 585 of file unistd.h.

Function Documentation

◆ _GL_CXXALIAS_SYS() [1/8]

_GL_CXXALIAS_SYS ( chdir  ,
int  ,
(const char *file) _GL_ARG_NONNULL((1))   
)

◆ _GL_CXXALIAS_SYS() [2/8]

_GL_CXXALIAS_SYS ( close  ,
int  ,
(int fd)   
)

◆ _GL_CXXALIAS_SYS() [3/8]

_GL_CXXALIAS_SYS ( dup  ,
int  ,
(int oldfd)   
)

◆ _GL_CXXALIAS_SYS() [4/8]

_GL_CXXALIAS_SYS ( dup2  ,
int  ,
(int oldfd, int newfd)   
)

◆ _GL_CXXALIAS_SYS() [5/8]

_GL_CXXALIAS_SYS ( fchdir  ,
int  ,
(int)   
)

◆ _GL_CXXALIAS_SYS() [6/8]

_GL_CXXALIAS_SYS ( getdtablesize  ,
int  ,
(void)   
)

◆ _GL_CXXALIAS_SYS() [7/8]

_GL_CXXALIAS_SYS ( readlink  ,
ssize_t  ,
(const char *file, char *buf, size_t bufsize)   
)

◆ _GL_CXXALIAS_SYS() [8/8]

_GL_CXXALIAS_SYS ( rmdir  ,
int  ,
(char const *name  
)

◆ _GL_CXXALIAS_SYS_CAST() [1/2]

_GL_CXXALIAS_SYS_CAST ( getcwd  ,
char *  ,
(char *buf, size_t size)   
)

◆ _GL_CXXALIAS_SYS_CAST() [2/2]

_GL_CXXALIAS_SYS_CAST ( getlogin_r  ,
int  ,
(char *name, size_t size)   
)

◆ _GL_CXXALIASWARN() [1/10]

_GL_CXXALIASWARN ( chdir  )

◆ _GL_CXXALIASWARN() [2/10]

_GL_CXXALIASWARN ( close  )

◆ _GL_CXXALIASWARN() [3/10]

_GL_CXXALIASWARN ( dup  )

◆ _GL_CXXALIASWARN() [4/10]

_GL_CXXALIASWARN ( dup2  )

◆ _GL_CXXALIASWARN() [5/10]

_GL_CXXALIASWARN ( fchdir  )

◆ _GL_CXXALIASWARN() [6/10]

_GL_CXXALIASWARN ( getcwd  )

◆ _GL_CXXALIASWARN() [7/10]

_GL_CXXALIASWARN ( getdtablesize  )

◆ _GL_CXXALIASWARN() [8/10]

_GL_CXXALIASWARN ( getlogin_r  )

◆ _GL_CXXALIASWARN() [9/10]

_GL_CXXALIASWARN ( readlink  )

◆ _GL_CXXALIASWARN() [10/10]

_GL_CXXALIASWARN ( rmdir  )