home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 4
/
DATAFILE_PDCD4.iso
/
unix
/
unixlib36d
/
clib
/
h
/
pwd
< prev
next >
Wrap
Text File
|
1994-02-26
|
637b
|
40 lines
/* pwd.h (c) Copyright 1990 H.Rogers */
#ifndef __PWD_H
#define __PWD_H
#ifdef __cplusplus
extern "C" {
#endif
struct passwd
{
char *pw_name;
char *pw_passwd;
int pw_uid;
int pw_gid;
int pw_quota;
char *pw_comment;
char *pw_gecos;
char *pw_dir;
char *pw_shell;
};
extern struct passwd *getpwent(void);
#ifdef FILE
extern struct passwd *fgetpwent(FILE *);
#else
extern struct passwd *fgetpwent(void *);
#endif
extern struct passwd *getpwuid(int);
extern struct passwd *getpwnam(char *);
extern int setpwent(void);
extern int endpwent(void);
extern int setpwfile(char *);
#ifdef __cplusplus
}
#endif
#endif