aboutsummaryrefslogtreecommitdiff
path: root/hostname.h
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-03-18 10:36:22 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-03-18 10:36:22 +1300
commit79807255feef41b15e91f5c0e82124f83c582517 (patch)
treec799b900fcadca5c736ac5a2ad98462f594a6209 /hostname.h
parentWrote whoami(1) (diff)
downloadtunics-79807255feef41b15e91f5c0e82124f83c582517.tar.gz
tunics-79807255feef41b15e91f5c0e82124f83c582517.zip
Add hostname(1) implementation
Diffstat (limited to 'hostname.h')
-rw-r--r--hostname.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/hostname.h b/hostname.h
new file mode 100644
index 0000000..4eb0b32
--- /dev/null
+++ b/hostname.h
@@ -0,0 +1,9 @@
+#ifndef __HOSTNAME_H
+#define __HOSTNAME_H
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <sys/utsname.h>
+
+#endif
+