From a0d4ac60dc373d2f18d9861087e0054d4e8f865d Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 22 Feb 2001 13:06:07 +0000 Subject: have "init" compiled against dietlibc (rather than glibc) on non-Intel arch's --- mdk-stage1/dietlibc/include/unistd.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mdk-stage1/dietlibc/include/unistd.h') diff --git a/mdk-stage1/dietlibc/include/unistd.h b/mdk-stage1/dietlibc/include/unistd.h index a3c863586..5165ba286 100644 --- a/mdk-stage1/dietlibc/include/unistd.h +++ b/mdk-stage1/dietlibc/include/unistd.h @@ -59,6 +59,11 @@ int brk(void *end_data_segment) __THROW; void *sbrk(ptrdiff_t increment) __THROW; int gethostname(char *name, size_t len) __THROW; +int sethostname(const char *name, size_t len) __THROW; + +int setdomainname(const char *name, size_t len) __THROW; + +void sync(void) __THROW; /* Values for the second argument to access. These may be OR'd together. */ @@ -73,5 +78,6 @@ int dup2 (int __fd, int __fd2) __THROW; pid_t setsid (void) __THROW; +unsigned int sleep (unsigned int __seconds) __THROW; #endif -- cgit v1.2.1