diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-09-10 15:53:44 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-09-10 15:53:44 +0000 |
commit | 080ef411359ffe4c8b5f03ab5fce9da900e40381 (patch) | |
tree | 636a1ccdefcfe53de1df826f22903f4a0501a31c /newlib/libc | |
parent | 34a1d63d80fcc64cced0fb40b03f1c2a6fbc8ab8 (diff) | |
download | newlib-080ef411359ffe4c8b5f03ab5fce9da900e40381.zip newlib-080ef411359ffe4c8b5f03ab5fce9da900e40381.tar.gz newlib-080ef411359ffe4c8b5f03ab5fce9da900e40381.tar.bz2 |
* libc/include/sys/unistd.h: Declare function daemon for Cygwin.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 50afeaf..93f1ccf 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -29,6 +29,9 @@ int _EXFUN(chroot, (const char *__path )); int _EXFUN(close, (int __fildes )); char _EXFUN(*ctermid, (char *__s )); char _EXFUN(*cuserid, (char *__s )); +#if defined(__CYGWIN__) +int _EXFUN(daemon, (int nochdir, int noclose)); +#endif int _EXFUN(dup, (int __fildes )); int _EXFUN(dup2, (int __fildes, int __fildes2 )); #if defined(__CYGWIN__) |