]> sourceware.org Git - newlib-cygwin.git/commitdiff
Phoenix-RTOS: Provide daemon() and fdatasync() syscalls in <sys/unistd.h>.
authorKuba Sejdak <jakub.sejdak@phoesys.com>
Fri, 24 Jun 2016 12:14:47 +0000 (14:14 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 27 Jun 2016 11:23:34 +0000 (13:23 +0200)
newlib/libc/sys/phoenix/sys/unistd.h

index 6e171449cd9516c9dce771113a27683e96e94c32..bdf5bd5297bea368fd82f53d1acd08ec800cb37e 100644 (file)
@@ -31,6 +31,7 @@
 #define __need_size_t
 #define __need_ptrdiff_t
 #include <stddef.h>
+#include <sys/select.h>
 
 extern char **environ;
 
@@ -46,6 +47,7 @@ int close(int fd);
 int _close(int fd);
 char *ctermid(char *s);
 char *cuserid(char *string);
+int daemon(int nochdir, int noclose);
 int dup(int oldfd);
 int dup2(int olffd, int newfd);
 int execl(const char *path, const char *arg, ...);
@@ -59,6 +61,7 @@ int execvpe(const char *file, char *const argv[], char *const envp[]);
 int fchdir(int fd);
 int fchmod(int fd, mode_t mode);
 int fchown(int fd, uid_t owner, gid_t group);
+int fdatasync(int fd);
 pid_t fork();
 long fpathconf(int fd, int name);
 int fsync(int fd);
This page took 0.034416 seconds and 5 git commands to generate.