userspace/libc: add stub gethostname function

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-02-12 02:53:13 +02:00
parent 97af4d855f
commit 2384791793
2 changed files with 20 additions and 0 deletions

View File

@ -94,6 +94,7 @@ extern "C"
gid_t getgid(void);
int getgroups(int, gid_t[]);
long gethostid(void);
int gethostname(char *name, size_t namelen);
char *getlogin(void);
int getlogin_r(char *, size_t);
int getopt(int, char *const[], const char *);