sync with OpenBSD -current
This commit is contained in:
parent
c0bca71075
commit
4d0363822b
10 changed files with 63 additions and 27 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: unistd.h,v 1.110 2024/08/02 01:53:21 guenther Exp $ */
|
||||
/* $OpenBSD: unistd.h,v 1.111 2024/08/02 22:14:54 guenther Exp $ */
|
||||
/* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */
|
||||
|
||||
/*-
|
||||
|
@ -474,6 +474,12 @@ int unlinkat(int, const char *, int);
|
|||
#if __POSIX_VISIBLE >= 202405 || __BSD_VISIBLE
|
||||
int getentropy(void *, size_t);
|
||||
#endif
|
||||
#if __XPG_VISIBLE >= 800 || __BSD_VISIBLE
|
||||
int getresgid(gid_t *, gid_t *, gid_t *);
|
||||
int getresuid(uid_t *, uid_t *, uid_t *);
|
||||
int setresgid(gid_t, gid_t, gid_t);
|
||||
int setresuid(uid_t, uid_t, uid_t);
|
||||
#endif
|
||||
|
||||
#if __BSD_VISIBLE
|
||||
int dup3(int, int, int);
|
||||
|
@ -492,8 +498,6 @@ int getdomainname(char *, size_t)
|
|||
int getdtablecount(void);
|
||||
int getgrouplist(const char *, gid_t, gid_t *, int *);
|
||||
mode_t getmode(const void *, mode_t);
|
||||
int getresgid(gid_t *, gid_t *, gid_t *);
|
||||
int getresuid(uid_t *, uid_t *, uid_t *);
|
||||
pid_t getthrid(void);
|
||||
int getthrname(pid_t, char *, size_t);
|
||||
char *getusershell(void);
|
||||
|
@ -523,8 +527,6 @@ int sethostname(const char *, size_t);
|
|||
int setlogin(const char *);
|
||||
void *setmode(const char *);
|
||||
int setpgrp(pid_t _pid, pid_t _pgrp); /* BSD compat version */
|
||||
int setresgid(gid_t, gid_t, gid_t);
|
||||
int setresuid(uid_t, uid_t, uid_t);
|
||||
int setthrname(pid_t, const char *);
|
||||
void setusershell(void);
|
||||
int strtofflags(char **, u_int32_t *, u_int32_t *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue