From owner-cvs-all Fri Dec 20 0: 5:50 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E77437B401; Fri, 20 Dec 2002 00:05:49 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AC1443EDE; Fri, 20 Dec 2002 00:05:48 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id gBK85luB032697; Fri, 20 Dec 2002 01:05:47 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 20 Dec 2002 01:05:40 -0700 (MST) Message-Id: <20021220.010540.103018236.imp@bsdimp.com> To: ru@FreeBSD.org Cc: bde@zeta.org.au, wollman@lcs.mit.edu, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/sys _exit.2 accept.2 access.2 acct.2 adjtime.2 aio_cancel.2 aio_error.2 aio_read.2 aio_return.2 aio_suspend.2 aio_waitcomplete.2 aio_write.2 bind.2 brk.2 chdir From: "M. Warner Losh" In-Reply-To: <20021220080144.GB70051@sunbay.com> References: <20021219095247.GA79372@sunbay.com> <20021219.211701.128866860.imp@bsdimp.com> <20021220080144.GB70051@sunbay.com> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20021220080144.GB70051@sunbay.com> Ruslan Ermilov writes: : On Thu, Dec 19, 2002 at 09:17:01PM -0700, M. Warner Losh wrote: : > In message: <20021219095247.GA79372@sunbay.com> : > Ruslan Ermilov writes: : > : If the consensus is to refer to syscalls as functions, there : > : is also no reason to keep section 2. : > : > Actually, there is. System calls live in section 2, even if they : > aren't called system calls. : > : Not enough quoted context: : : wollman> since the interfaces may move from one side of the boundary : wollman> to the other. : : If an interface moves from a syscall to a library call level, : we should also move its manpage from section 2 to section 3. : If we call syscalls just functions, there's not much point in : keeping a separate section, as it would only give us an : overhead of changing the manpage's section every time an : interface moves. I think that the overhead is worth it. We rarely move these things, so optimizing for that case is less useful than knowing what's a system call and what's a library call. System calls live in section 2 and library calls live in section 3. Even if we call them all functions, and have to move them around from time to time, that's a good thing and something I would actively fight against changing. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message