1 2 3 4 5 6 7 8 9 10
#include <stddef.h> #include <unistd.h> // for gethostname, size_t int gethostname(char *name, size_t namelen) { (void)name; (void)namelen; // TODO return 0; }