Changeset View
Changeset View
Standalone View
Standalone View
include/unistd.h
Show First 20 Lines • Show All 320 Lines • ▼ Show 20 Lines | |||||
__BEGIN_DECLS | __BEGIN_DECLS | ||||
/* 1003.1-1990 */ | /* 1003.1-1990 */ | ||||
void _exit(int) __dead2; | void _exit(int) __dead2; | ||||
int access(const char *, int); | int access(const char *, int); | ||||
unsigned int alarm(unsigned int); | unsigned int alarm(unsigned int); | ||||
int chdir(const char *); | int chdir(const char *); | ||||
int chown(const char *, uid_t, gid_t); | int chown(const char *, uid_t, gid_t); | ||||
int close(int); | int close(int); | ||||
#if __BSD_VISIBLE | |||||
kib: this should go under BSD_VISIBLE. I think closefrom() should as well, but this is the existing… | |||||
int close_range(unsigned int, unsigned int, int); | |||||
#endif | |||||
kibUnsubmitted Not Done Inline ActionsI would instead place the declaration into existing BSD_VISIBLE block at the end of the header. kib: I would instead place the declaration into existing BSD_VISIBLE block at the end of the header. | |||||
void closefrom(int); | void closefrom(int); | ||||
int dup(int); | int dup(int); | ||||
int dup2(int, int); | int dup2(int, int); | ||||
int execl(const char *, const char *, ...) __null_sentinel; | int execl(const char *, const char *, ...) __null_sentinel; | ||||
int execle(const char *, const char *, ...); | int execle(const char *, const char *, ...); | ||||
int execlp(const char *, const char *, ...) __null_sentinel; | int execlp(const char *, const char *, ...) __null_sentinel; | ||||
int execv(const char *, char * const *); | int execv(const char *, char * const *); | ||||
int execve(const char *, char * const *, char * const *); | int execve(const char *, char * const *, char * const *); | ||||
▲ Show 20 Lines • Show All 215 Lines • ▼ Show 20 Lines | |||||
int re_exec(const char *); | int re_exec(const char *); | ||||
int reboot(int); | int reboot(int); | ||||
int revoke(const char *); | int revoke(const char *); | ||||
pid_t rfork(int); | pid_t rfork(int); | ||||
pid_t rfork_thread(int, void *, int (*)(void *), void *); | pid_t rfork_thread(int, void *, int (*)(void *), void *); | ||||
int rresvport(int *); | int rresvport(int *); | ||||
int rresvport_af(int *, int); | int rresvport_af(int *, int); | ||||
int ruserok(const char *, int, const char *, const char *); | int ruserok(const char *, int, const char *, const char *); | ||||
#if __BSD_VISIBLE | #if __BSD_VISIBLE | ||||
Done Inline ActionsThis __BSD_VISIBLE is redundant with line 486. (This is an existing bug.) close_range should go on line 497. vangyzen: This `__BSD_VISIBLE` is redundant with line 486. (This is an existing bug.)
`close_range`… | |||||
#ifndef _SELECT_DECLARED | #ifndef _SELECT_DECLARED | ||||
#define _SELECT_DECLARED | #define _SELECT_DECLARED | ||||
int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ||||
#endif | #endif | ||||
#endif | #endif | ||||
int setdomainname(const char *, int); | int setdomainname(const char *, int); | ||||
int setgroups(int, const gid_t *); | int setgroups(int, const gid_t *); | ||||
void sethostid(long); | void sethostid(long); | ||||
Show All 30 Lines |
this should go under BSD_VISIBLE. I think closefrom() should as well, but this is the existing bug.