getspnam.c 372 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 getspnam
  7. #define GETXXKEY_ENTTYPE struct spwd
  8. #define GETXXKEY_ADD_PARAMS const char *name
  9. #define GETXXKEY_ADD_VARIABLES name
  10. #define GETXXKEY_BUFLEN __UCLIBC_PWD_BUFFER_SIZE__
  11. #include "pwd_grp.c"