writev(2) and IOV_MAX confusion
From: Andre Oppermann (andre_at_freebsd.org)
Date: 02/16/04
- Previous message: Fritz Heinrichmeyer: "buildworld failure in /usr/src/sys/boot/i386/boot2 this morning"
- Next in thread: David Schultz: "Re: writev(2) and IOV_MAX confusion"
- Reply: David Schultz: "Re: writev(2) and IOV_MAX confusion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 16 Feb 2004 11:10:43 +0100 To: freebsd-current@freebsd.org, freebsd-standards@freebsd.org
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?
-- Andre _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Fritz Heinrichmeyer: "buildworld failure in /usr/src/sys/boot/i386/boot2 this morning"
- Next in thread: David Schultz: "Re: writev(2) and IOV_MAX confusion"
- Reply: David Schultz: "Re: writev(2) and IOV_MAX confusion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|