getgrgid.c 365 B

123456789101112
  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. #define GETXXKEY_FUNC getgrgid
  7. #define GETXXKEY_ENTTYPE struct group
  8. #define GETXXKEY_ADD_PARAMS gid_t git
  9. #define GETXXKEY_ADD_VARIABLES git
  10. #define GETXXKEY_BUFLEN __UCLIBC_GRP_BUFFER_SIZE__
  11. #include "pwd_grp.c"