Wrote gethostname filler
This commit is contained in:
parent
000f24b79c
commit
b69c712ea5
1 changed files with 7 additions and 0 deletions
7
unistd/gethostname.c
Normal file
7
unistd/gethostname.c
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue