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

Jeff Johnston jjohnstn@redhat.com
Wed Jan 14 21:19:00 GMT 2015


Patch committed.

-- Jeff J.

----- Original Message -----
From: "Joel Sherrill" <joel.sherrill@oarcorp.com>
To: newlib@sourceware.org
Cc: "Joel Sherrill" <joel.sherrill@oarcorp.com>
Sent: Wednesday, January 14, 2015 1:43:44 PM
Subject: [PATCH 2/2] libc/include/sys/unistd.h: Add prototype of issetugid()

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