diff options
Diffstat (limited to 'PACE/pace/grp.h')
-rw-r--r-- | PACE/pace/grp.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/PACE/pace/grp.h b/PACE/pace/grp.h deleted file mode 100644 index ddb81cf198c..00000000000 --- a/PACE/pace/grp.h +++ /dev/null @@ -1,63 +0,0 @@ -/* $Id$ - - * ============================================================================ - * - * = LIBRARY - * pace (posix ace) - * - * = FILENAME - * grp.h - * - * = AUTHOR - * Luther Baker - * - * ============================================================================ */ - - -#ifndef PACE_GRP_H -#define PACE_GRP_H - - -#include "pace/defines.h" -#include <grp.h> - -/* Linux wants to use sys/types.h to define pace_gid_t. - * Sun is happy with grp.h. */ -# if defined (linux) -#include "pace/sys/types.h" -# endif /* linux */ - - -# if defined (PACE_HAS_CPLUSPLUS) -extern "C" { -# endif /* PACE_HAS_CPLUSPLUS */ - - PACE_INLINE struct group * pace_getgrgid (pace_gid_t gid); - - PACE_INLINE int pace_getgrgid_r (pace_gid_t gid, - struct group * grp, - char * buffer, - size_t bufsize, - struct group ** result); - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - - PACE_INLINE struct group * pace_getgrnam (const char * name); - - PACE_INLINE int pace_getgrnam_r (const char * name, - struct group * grp, - char * buffer, - size_t bufsize, - struct group ** result); - /* Requires PACE_HAS_POSIX_PTHREAD_SEMANTICS. */ - - -# if defined (PACE_HAS_CPLUSPLUS) -} -# endif /* PACE_HAS_CPLUSPLUS */ - -# if defined (PACE_HAS_INLINE) -# include "grp.inl" -# endif /* PACE_HAS_INLINE */ - - -#endif /* PACE_GRP_H */ |