implement getusershell, etc. legacy functions

I actually wrote these a month ago but forgot to integrate them. ugly,
probably-harmful-to-use functions, but some legacy apps want them...
This commit is contained in:
Rich Felker
2012-04-22 14:41:54 -04:00
parent 431a4cd4df
commit 90da74ef51
2 changed files with 36 additions and 0 deletions

View File

@ -163,6 +163,9 @@ char *get_current_dir_name(void);
int daemon(int, int);
int getdomainname(char *, size_t);
int getdtablesize(void);
void setusershell(void);
void endusershell(void);
char *getusershell(void);
#endif
#define _XOPEN_VERSION 700