This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: {IOV_MAX} symbols
- From: Nicholas Wourms <nwourms at yahoo dot com>
- To: "René_Møller_Fonseca" <fonseca at mip dot sdu dot dk>, cygwin at cygwin dot com
- Date: Mon, 29 Jul 2002 07:26:21 -0700 (PDT)
- Subject: Re: {IOV_MAX} symbols
--- René_Møller_Fonseca <fonseca@mip.sdu.dk> wrote:
> Since cygwin implements the XSI functions readv and writev; the
> symbols
> _SC_IOV_MAX and _XOPEN_IOV_MAX MUST also be defined (IOV_MAX is
> already
> defined).
>
> /** Belongs in unistd.h. */
> #define _SC_IOV_MAX ???
>
> /** Specifies the most restrictive value (belongs in limits.h). */
> #define _XOPEN_IOV_MAX 16
>
> Don't forget to add support for _SC_IOV_MAX in sysconf.
>
René,
Your best bet would be to patch the cygwin source code from cvs and
generate a diff from that. You can find out more about the process
here:
http://cygwin.com/contrib.html
You'll want to generate the diff and submit it to
cygwin-patches@cygwin.com. You might also want to provide a testcase
c program to demonstrate why these changes are needed. Also,
referring to specific standards might help as well. Note, if you
make less then 10 lines of changes to the cygwin code, you probably
do not need to submit a copyright assignment.
Cheers,
Nicholas
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/