writev(2) and IOV_MAX confusion

From: Andre Oppermann (andre_at_freebsd.org)
Date: 02/16/04

  • Next message: Max Laier: "Re: PANIC: trap.c"
    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"
    

  • Next message: Max Laier: "Re: PANIC: trap.c"

    Relevant Pages

    • Re: writev(2) and IOV_MAX confusion
      ... On Mon, Feb 16, 2004, Andre Oppermann wrote: ... > The is a big confusion over the correct definition of IOV_MAX in relation ... To unsubscribe, ...
      (freebsd-current)
    • Re: Can Word 2003 open up Word 2007 documents
      ... some of the terms noted as inconsistent were terms ... Doing so only adds confusion. ... Feature changes in Word, Excel, and PPT when working in Compatibility Mode ... between the Office apps and various versions and after reviewing the ...
      (microsoft.public.office.misc)
    • Re: The List Standard
      ... If your mailer breaks threads, you shouldn't use it at all. ... confusion than it saves especially if a lot of people are in disagreement ... who learned to read from Microsoft Outlook. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: [debian-user] The List Standard
      ... For threads where there is a lot of disagreement ... Stripping irelevant parts of original content is OK and ... case much less of confusion than reading long pages of irelevant text and ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: [OT I think] Which Distro?
      ... Hamm or Slink, I believe. ... In 1988, Intel introduced the i386SX, a low cost version with ... confusion, though this would rather cause confusion later ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)