summary refs log tree commit diff
path: root/src/tryuwtmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tryuwtmp.c')
-rw-r--r--src/tryuwtmp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tryuwtmp.c b/src/tryuwtmp.c
new file mode 100644
index 0000000..2192a1e
--- /dev/null
+++ b/src/tryuwtmp.c
@@ -0,0 +1,9 @@
+#include <sys/types.h>
+#include <utmp.h>
+
+struct utmp ut;
+
+int main(void) {
+  char *s =ut.ut_name;
+  return(0);
+}