diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-18 10:36:22 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-18 10:36:22 +1300 |
commit | 79807255feef41b15e91f5c0e82124f83c582517 (patch) | |
tree | c799b900fcadca5c736ac5a2ad98462f594a6209 /hostname.h | |
parent | Wrote whoami(1) (diff) | |
download | tunics-79807255feef41b15e91f5c0e82124f83c582517.tar.gz tunics-79807255feef41b15e91f5c0e82124f83c582517.zip |
Add hostname(1) implementation
Diffstat (limited to 'hostname.h')
-rw-r--r-- | hostname.h | 9 |
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 + |