OSDN Git Service

* libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
authorericb <ericb>
Fri, 25 Sep 2009 23:57:08 +0000 (23:57 +0000)
committerericb <ericb>
Fri, 25 Sep 2009 23:57:08 +0000 (23:57 +0000)
Add declarations.

newlib/ChangeLog
newlib/libc/include/sys/unistd.h

index 63182d7..58c24cf 100644 (file)
@@ -1,3 +1,8 @@
+2009-09-24  Eric Blake  <ebb9@byu.net>
+
+       * libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
+       Add declarations.
+
 2009-09-23  Corinna Vinschen  <corinna@vinschen.de>
 
        * libc/locale/locale.c: Drop Cygwin-specific windows.h include.
index 5128d30..388ba4e 100644 (file)
@@ -38,7 +38,9 @@ int   _EXFUN(daemon, (int nochdir, int noclose));
 int     _EXFUN(dup, (int __fildes ));
 int     _EXFUN(dup2, (int __fildes, int __fildes2 ));
 #if defined(__CYGWIN__)
+int    _EXFUN(eaccess, (const char *__path, int __mode));
 void   _EXFUN(endusershell, (void));
+int    _EXFUN(euidaccess, (const char *__path, int __mode));
 #endif
 int     _EXFUN(execl, (const char *__path, const char *, ... ));
 int     _EXFUN(execle, (const char *__path, const char *, ... ));