NetBSD/gnu/lib/libg++/g++-include/pwd.h
mycroft 210cab4541 Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:18:41 +00:00

39 lines
706 B
C

// $Id: pwd.h,v 1.2 1993/08/02 17:22:12 mycroft Exp $
#ifndef _pwd_h
// the Interviews-based standard kludge again
extern "C" {
#ifdef __pwd_h_recursive
#include_next <pwd.h>
#else
#define getpwent c_proto_getpwent
#define getpwuid c_proto_getpwuid
#define getpwnam c_proto_getpwnam
#define setpwent c_proto_setpwent
#define endpwent c_proto_endpwent
#define __pwd_h_recursive
#include_next <pwd.h>
#define _pwd_h 1
#undef getpwent
#undef getpwuid
#undef getpwnam
#undef setpwent
#undef endpwent
extern struct passwd* getpwent();
extern struct passwd* getpwuid(int);
extern struct passwd* getpwnam(const char*);
extern int setpwent();
extern int endpwent();
#endif
}
#endif