On Wed, 11 Apr 2012 12:52:16 -0500, Kirk Wolf wrote: > >Also, according to the documentation you will get an EINVAL error if the >second argument (the buffer) is NULL. > I thought I saw that this had changed, perhaps at 1.13, to implement a POSIX future direction. Alas, no; I must have been reading the OS X man page and displaced by wishful thinking.
>On Wed, Apr 11, 2012 at 12:40 PM, McKown, John wrote: > >> #define _XOPEN_SOURCE_EXTENDED 1 >> >> as shown here: >> http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/EDCLB1B0/3.791 >> >> or include the compile parm: -D_XOPEN_SOURCE_EXTENDED=1 >> Works. Thanks. I failed to note in POSIX the dependency on an option. OS X, Linux, and Solaris all compile it with no such special action. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN