summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/include/unistd.h
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-02-22 13:06:07 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-02-22 13:06:07 +0000
commita0d4ac60dc373d2f18d9861087e0054d4e8f865d (patch)
tree92718cc3604293f2f1cbe63945bc49eb134427bf /mdk-stage1/dietlibc/include/unistd.h
parentd256d73891a4806211f9de9007ea0b465cead03b (diff)
downloaddrakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar
drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.gz
drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.bz2
drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.tar.xz
drakx-backup-do-not-use-a0d4ac60dc373d2f18d9861087e0054d4e8f865d.zip
have "init" compiled against dietlibc (rather than glibc) on non-Intel arch's
Diffstat (limited to 'mdk-stage1/dietlibc/include/unistd.h')
-rw-r--r--mdk-stage1/dietlibc/include/unistd.h6
1 files changed, 6 insertions, 0 deletions
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