Wrote gethostname filler

This commit is contained in:
Kat R. 2022-10-09 11:48:47 -05:00
parent 000f24b79c
commit b69c712ea5

7
unistd/gethostname.c Normal file
View file

@ -0,0 +1,7 @@
#include <unistd.h>
#include <string.h>
int gethostname(char * name, size_t namelen) {
memcpy(name, "TEST_STR_REPLACE_LATER", namelen);
return 0;
}