home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / djgpp / include / grp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-01-20  |  926 b   |  47 lines

  1. /* This file may have been modified by DJ Delorie (Jan 1991).  If so,
  2. ** these modifications are Coyright (C) 1991 DJ Delorie, 24 Kirsten Ave,
  3. ** Rochester NH, 03867-2954, USA.
  4. */
  5.  
  6.  
  7. #ifndef grp_h
  8. #pragma once
  9.  
  10. #include <stdio.h>
  11.  
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #define getgrent c_proto_getgrent
  16. #define getgrgid c_proto_getgrgid
  17. #define getgrnam c_proto_getgrnam
  18. #define setgrent c_proto_setgrent
  19. #define endgrent c_proto_endgrent
  20. #define fgetgrent c_proto_fgetgrent
  21.  
  22. #define KERNEL
  23.  
  24. #include "//usr/include/grp.h"
  25.  
  26. #ifndef grp_h
  27. #define grp_h 1
  28. #endif
  29.  
  30. #undef getgrent
  31. #undef getgrgid
  32. #undef getgrnam
  33. #undef KERNEL
  34.  
  35. extern struct group* getgrent();
  36. extern struct group* fgetgrent(FILE*);
  37. extern struct group* getgrgid(int);
  38. extern struct group* getgrnam(const char*);
  39. extern void          setgrent();
  40. extern void          endgrent();
  41.  
  42. #ifdef __cplusplus
  43. }
  44. #endif
  45.  
  46. #endif
  47.