home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Club Elmshorn Atari PD
/
CCE_PD.iso
/
pc
/
0400
/
CCE_0423.ZIP
/
CCE_0423.PD
/
INCLUD83.ZOO
/
pwd.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-20
|
736b
|
44 lines
#ifndef _PWD_H
#define _PWD_H
/* file to describe password file fields */
#ifndef _COMPILER_H
#include <compiler.h>
#endif
#ifndef _TYPES_H
#include <types.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
struct passwd {
char *pw_name;
char *pw_passwd;
uid_t pw_uid;
gid_t pw_gid;
char *pw_gecos;
char *pw_dir;
char *pw_shell;
};
#define pw_comment pw_gecos
__EXTERN struct passwd *getpwent __PROTO((void));
__EXTERN struct passwd *getpwnam __PROTO((const char *));
#ifndef _POSIX_SOURCE
__EXTERN void setpwfile __PROTO((char *));
__EXTERN struct passwd *getpwuid __PROTO((int));
__EXTERN void setpwent __PROTO((void));
__EXTERN void endpwent __PROTO((void));
#endif
#ifdef __cplusplus
}
#endif
#endif /* _PWD_H */