This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH 2/2] libc/include/sys/unistd.h: Add prototype of issetugid()
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: newlib at sourceware dot org
- Cc: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Date: Wed, 14 Jan 2015 12:43:44 -0600
- Subject: [PATCH 2/2] libc/include/sys/unistd.h: Add prototype of issetugid()
- Authentication-results: sourceware.org; auth=none
- References: <1421261024-26955-1-git-send-email-joel dot sherrill at oarcorp dot com>
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