diff options
author | pk33 <pk33@email.com> | 2024-11-03 03:46:13 +0100 |
---|---|---|
committer | pk33 <pk33@email.com> | 2024-11-03 03:46:13 +0100 |
commit | 69058973a9f5073184b9f0b98dbcbbd63da40514 (patch) | |
tree | 67d9dcda3c8a67f1b22a0752a25839a2266327e7 /musl/pwd.h | |
parent | 0f23d50c8291b23799e55c8653c15f16c0d752d0 (diff) | |
download | engine33-69058973a9f5073184b9f0b98dbcbbd63da40514.tar.gz |
ignore
Diffstat (limited to 'musl/pwd.h')
-rw-r--r-- | musl/pwd.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/musl/pwd.h b/musl/pwd.h deleted file mode 100644 index 4f470b5..0000000 --- a/musl/pwd.h +++ /dev/null @@ -1,50 +0,0 @@ -#ifndef _PWD_H -#define _PWD_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include <features.h> - -#define __NEED_size_t -#define __NEED_uid_t -#define __NEED_gid_t - -#ifdef _GNU_SOURCE -#define __NEED_FILE -#endif - -#include <bits/alltypes.h> - -struct passwd { - char *pw_name; - char *pw_passwd; - uid_t pw_uid; - gid_t pw_gid; - char *pw_gecos; - char *pw_dir; - char *pw_shell; -}; - -#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) -void setpwent (void); -void endpwent (void); -struct passwd *getpwent (void); -#endif - -struct passwd *getpwuid (uid_t); -struct passwd *getpwnam (const char *); -int getpwuid_r (uid_t, struct passwd *, char *, size_t, struct passwd **); -int getpwnam_r (const char *, struct passwd *, char *, size_t, struct passwd **); - -#ifdef _GNU_SOURCE -struct passwd *fgetpwent(FILE *); -int putpwent(const struct passwd *, FILE *); -#endif - -#ifdef __cplusplus -} -#endif - -#endif |