From owner-freebsd-current@FreeBSD.ORG Mon Feb 16 02:10:32 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92E4B16A4CE for ; Mon, 16 Feb 2004 02:10:32 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DAB443D31 for ; Mon, 16 Feb 2004 02:10:32 -0800 (PST) (envelope-from andre@freebsd.org) Received: (qmail 58437 invoked from network); 16 Feb 2004 10:10:30 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.47]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 16 Feb 2004 10:10:30 -0000 Message-ID: <40309723.5020808@freebsd.org> Date: Mon, 16 Feb 2004 11:10:43 +0100 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040125 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org, freebsd-standards@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: writev(2) and IOV_MAX confusion X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 10:10:32 -0000 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 to get everything. Unfortunatly IOV_MAX is not (no longer?) defined there but in . Both Net- and OpenBSD still define it in but NetBSD only for compatibility. For them the correct place seems to be 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