From: cyg Simple <cygsimple@gmail.com>
To: cygwin@cygwin.com
Subject: issetugid - not declared when _XOPEN_SOURCE is also defined
Date: Wed, 09 Nov 2016 18:13:00 -0000 [thread overview]
Message-ID: <d61199c7-85d2-039d-58cb-29fb8d6ff369@gmail.com> (raw)
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
next reply other threads:[~2016-11-09 18:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-09 18:13 cyg Simple [this message]
2016-11-09 19:41 ` cyg Simple
2016-11-10 9:10 ` Corinna Vinschen
2016-11-11 7:31 ` cyg Simple
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d61199c7-85d2-039d-58cb-29fb8d6ff369@gmail.com \
--to=cygsimple@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).