[PATCH 2/2] libc/include/sys/unistd.h: Add prototype of issetugid()

Joel Sherrill joel.sherrill@oarcorp.com
Wed Jan 14 18:45:00 GMT 2015


2015-01-15  Joel Sherrill <joel.sherrill@oarcorp.com>

	* libc/include/sys/unistd.h: Add prototype of issetugid()
---
 newlib/libc/include/sys/unistd.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index a741383..53883f2 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -117,6 +117,9 @@ char *  _EXFUN(getwd, (char *__buf ));
 int	_EXFUN(iruserok, (unsigned long raddr, int superuser, const char *ruser, const char *luser));
 #endif
 int     _EXFUN(isatty, (int __fildes ));
+#if __BSD_VISIBLE
+int	_EXFUN(issetugid, (void));
+#endif
 #if !defined(__INSIDE_CYGWIN__)
 int     _EXFUN(lchown, (const char *__path, uid_t __owner, gid_t __group ));
 #endif
-- 
1.9.3



More information about the Newlib mailing list