summaryrefslogtreecommitdiff
path: root/src/tryuserpw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tryuserpw.c')
-rw-r--r--src/tryuserpw.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tryuserpw.c b/src/tryuserpw.c
new file mode 100644
index 0000000..a359d27
--- /dev/null
+++ b/src/tryuserpw.c
@@ -0,0 +1,9 @@
+#include <userpw.h>
+
+int main()
+{
+ struct userpw *upw;
+
+ upw = getuserpw("");
+ puts(upw->upw_passwd);
+}