diff options
Diffstat (limited to 'lib/libc/unistd/gethostname.c')
| -rw-r--r-- | lib/libc/unistd/gethostname.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/unistd/gethostname.c b/lib/libc/unistd/gethostname.c new file mode 100644 index 00000000..a20808e1 --- /dev/null +++ b/lib/libc/unistd/gethostname.c @@ -0,0 +1,8 @@ +#include <unistd.h> +#include <syscall.h> + +int gethostname(char *name, size_t namelen) +{ + // TODO + return 0; +} |
