This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

issetugid - not declared when _XOPEN_SOURCE is also defined


The following program demonstrates the issue.  Should issetugid be
declared with this scenario?

/*****************************************************/
#define _XOPEN_SOURCE 1  /* Causes declare warning */
#define __BSD_VISIBLE 1
#include <unistd.h>

int main(int argc, char ** argv) {
	int result;
	result = issetugid();
}
/****************************************************/

-- 
cyg Simple

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]