getpwnam.c 403 B

12345678910111213
  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 getpwnam
  7. #define GETXXKEY_ENTTYPE struct passwd
  8. #define GETXXKEY_ADD_PARAMS const char *name
  9. #define GETXXKEY_ADD_VARIABLES name
  10. #define GETXXKEY_BUFLEN __UCLIBC_PWD_BUFFER_SIZE__
  11. #define GETXXKEY_FUNC_HIDDEN
  12. #include "pwd_grp.c"