FENIX_libc/unistd/gethostname.c

7 lines
152 B
C
Raw Permalink Normal View History

2022-10-09 16:48:47 +00:00
#include <unistd.h>
#include <string.h>
int gethostname(char * name, size_t namelen) {
memcpy(name, "TEST_STR_REPLACE_LATER", namelen);
return 0;
}