fgetgrent.c 422 B

123456789101112131415161718
  1. /*
  2. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  3. *
  4. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  5. */
  6. #include <features.h>
  7. #ifdef __USE_SVID
  8. #define GETXXKEY_FUNC fgetgrent
  9. #define GETXXKEY_ENTTYPE struct group
  10. #define GETXXKEY_ADD_PARAMS FILE *stream
  11. #define GETXXKEY_ADD_VARIABLES stream
  12. #define GETXXKEY_BUFLEN __UCLIBC_GRP_BUFFER_SIZE__
  13. #include "pwd_grp.c"
  14. #endif