|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: @ T p
Length: 1174 (0x496)
Types: TextFile
Notes: @(#)pwd.h 13.1 (RC International) 91/02/01 */
Names: »pwd.h«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦c6f24efe5⟧ »0007«
└─⟦this⟧ »comp3.0/bsd/usr/include/pwd.h«
/* @(#)pwd.h 13.1 (RC International) 91/02/01 */
/* @(#)pwd.h 11.2 (RC International) 89/10/11 */
#ifndef _PWD_H
#define _PWD_H
#include <sys/types.h>
struct passwd {
char *pw_name;
char *pw_passwd;
uid_t pw_uid;
gid_t pw_gid;
int pw_quota;
char *pw_comment;
char *pw_gecos;
char *pw_dir;
char *pw_shell;
};
#if defined(__STDC__)
#include <stdio.h>
#if !defined(_POSIX_SOURCE)
extern struct passwd *getpwent(void);
#endif /* !defined(_POSIX_SOURCE) */
extern struct passwd *getpwuid(uid_t);
extern struct passwd *getpwnam(char *);
#if !defined(_POSIX_SOURCE)
extern void setpwent(void);
extern void endpwent(void);
extern struct passwd *fgetpwent(FILE *);
extern int putpwent(struct passwd *, FILE *);
#endif /* !defined(_POSIX_SOURCE) */
#else /* Not __STDC__ */
#if !defined(_POSIX_SOURCE)
extern struct passwd *getpwent();
#endif /* !defined(_POSIX_SOURCE) */
extern struct passwd *getpwuid();
extern struct passwd *getpwnam();
#if !defined(_POSIX_SOURCE)
extern void setpwent();
extern void endpwent();
extern struct passwd *fgetpwent();
extern int putpwent();
#endif /* !defined(_POSIX_SOURCE) */
#endif /* __STDC__ */
#endif /* _PWD_H */