legacy junk compatibility grab-bag
- add the rest of the junk traditionally in sys/param.h - add prototypes for some nonstandard functions - add _GNU_SOURCE to their source files so the compiler can check proto
This commit is contained in:
parent
ed0e3a357e
commit
ba6a9e7734
6 changed files with 36 additions and 7 deletions
|
|
@ -159,6 +159,8 @@ int setgroups(size_t, const gid_t []);
|
|||
int setresuid(uid_t, uid_t, uid_t);
|
||||
int setresgid(gid_t, gid_t, gid_t);
|
||||
char *get_current_dir_name(void);
|
||||
int daemon(int, int);
|
||||
int getdomainname(char *, size_t);
|
||||
#endif
|
||||
|
||||
#define _XOPEN_VERSION 700
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue