Squash commits for public release

This commit is contained in:
2025-02-12 09:54:05 -05:00
commit 7118adc514
1108 changed files with 80873 additions and 0 deletions

28
libs/libc/include/pwd.h Normal file
View File

@@ -0,0 +1,28 @@
#ifndef _LIBC_PWD_H
#define _LIBC_PWD_H
#include <sys/cdefs.h>
#include <sys/types.h>
__BEGIN_DECLS
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;
};
typedef struct passwd passwd_t;
void setpwent();
void endpwent();
passwd_t* getpwent();
passwd_t* getpwuid(uid_t uid);
passwd_t* getpwnam(const char* name);
__END_DECLS
#endif // _LIBC_PWD_H