Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
651 B

  1. /*++
  2. Copyright (c) 1992-1996 Microsoft Corporation
  3. Module Name:
  4. pwd.h
  5. Abstract:
  6. Defines data types and declares routines necessary for user database
  7. access, as required by 1003.1-88 (9.2.2).
  8. --*/
  9. #ifndef _PWD_
  10. #define _PWD_
  11. #include <sys/types.h>
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. struct passwd {
  16. char *pw_name; /* users login name */
  17. uid_t pw_uid; /* user id number */
  18. gid_t pw_gid; /* group id number */
  19. char *pw_dir; /* home directory */
  20. char *pw_shell; /* shell */
  21. };
  22. struct passwd * __cdecl getpwuid(uid_t);
  23. struct passwd * __cdecl getpwnam(const char *);
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27. #endif /* _PWD_ */