summaryrefslogtreecommitdiff
path: root/src/pwd/struct_passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pwd/struct_passwd.c')
-rw-r--r--src/pwd/struct_passwd.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pwd/struct_passwd.c b/src/pwd/struct_passwd.c
new file mode 100644
index 00000000..d77dd7b7
--- /dev/null
+++ b/src/pwd/struct_passwd.c
@@ -0,0 +1,13 @@
+#include <pwd.h>
+
+struct passwd {
+ char * pw_name;
+ uid_t pw_uid;
+ gid_t pw_gid;
+ char * pw_dir;
+ char * pw_shell;
+};
+
+/*
+POSIX(1)
+*/