The is a big confusion over the correct definition of IOV_MAX in relation to writev(2). The man page for write(2)/writev(2) says you only have to include <sys/uio.h> to get everything. Unfortunatly IOV_MAX is not (no longer?) defined there but in <sys/syslimits.h>. Both Net- and OpenBSD still define it in <sys/uio.h> but NetBSD only for compatibility. For them the correct place seems to be <sys/syslimits.h> too but only when _XOPEN_SOURCE is defined. What is the correct place for IOV_MAX? And what has to be adjusted, the man page or the .h files? -- AndreReceived on Mon Feb 16 2004 - 01:10:32 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC