This is the mail archive of the cygwin@cygwin.com 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]

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/


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