1993-08-15 02:07:30 +04:00
|
|
|
// $Id: grp.h,v 1.3 1993/08/14 22:07:30 mycroft Exp $
|
1993-08-02 21:18:41 +04:00
|
|
|
|
1993-07-14 13:12:34 +04:00
|
|
|
#ifndef grp_h
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
|
|
|
#ifdef __grp_h_recursive
|
|
|
|
#include_next <grp.h>
|
|
|
|
#else
|
|
|
|
#define __grp_h_recursive
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#define getgrent c_proto_getgrent
|
|
|
|
#define getgrgid c_proto_getgrgid
|
|
|
|
#define getgrnam c_proto_getgrnam
|
|
|
|
#define setgrent c_proto_setgrent
|
|
|
|
#define endgrent c_proto_endgrent
|
|
|
|
#define fgetgrent c_proto_fgetgrent
|
|
|
|
|
|
|
|
#include_next <grp.h>
|
|
|
|
|
|
|
|
#define grp_h 1
|
|
|
|
|
|
|
|
#undef getgrent
|
|
|
|
#undef getgrgid
|
|
|
|
#undef getgrnam
|
|
|
|
|
|
|
|
extern struct group* getgrent();
|
|
|
|
extern struct group* fgetgrent(FILE*);
|
|
|
|
extern struct group* getgrgid(int);
|
|
|
|
extern struct group* getgrnam(const char*);
|
1993-08-15 02:07:30 +04:00
|
|
|
#if defined(__OSF1__) || defined (__NetBSD__)
|
1993-07-14 13:12:34 +04:00
|
|
|
extern int setgrent();
|
|
|
|
#else
|
|
|
|
extern void setgrent();
|
|
|
|
#endif
|
|
|
|
extern void endgrent();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|