From owner-freebsd-current Sat Feb 8 15:33: 7 2003 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 4E15037B401 for ; Sat, 8 Feb 2003 15:33:06 -0800 (PST) Received: from baraca.united.net.ua (ns.united.net.ua [193.111.8.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FB5843FA3 for ; Sat, 8 Feb 2003 15:33:01 -0800 (PST) (envelope-from max@vega.com) Received: from vega.vega.com (root@xDSL-2-2.united.net.ua [193.111.9.226]) by baraca.united.net.ua (8.12.6/8.12.6) with ESMTP id h18NWuek081685; Sun, 9 Feb 2003 01:32:57 +0200 (EET) (envelope-from max@vega.com) Received: from vega.vega.com (max@localhost.vega.com [127.0.0.1]) by vega.vega.com (8.12.6/8.12.5) with ESMTP id h18NXcUk071227; Sun, 9 Feb 2003 01:33:38 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: (from max@localhost) by vega.vega.com (8.12.6/8.12.5/Submit) id h18NXb2E071226; Sun, 9 Feb 2003 01:33:37 +0200 (EET) Date: Sun, 9 Feb 2003 01:33:37 +0200 From: Maxim Sobolev To: Kris Kennaway Cc: current@FreeBSD.ORG Subject: Re: _fpathconf() and __semctl() prototypes Message-ID: <20030208233337.GA71208@vega.vega.com> References: <20030208225930.GA31290@rot13.obsecurity.org> <20030208230626.GA31434@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20030208230626.GA31434@rot13.obsecurity.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Feb 08, 2003 at 03:06:27PM -0800, Kris Kennaway wrote: > On Sat, Feb 08, 2003 at 02:59:30PM -0800, Kris Kennaway wrote: > > Can someone take a look at lib/libc/gen/semctl.c and tell me where > > the __semctl() sysctl should be prototyped? > > Also _fpathconf() in lib/libc/gen/statvfs.c /usr/src/lib/libc/include/namespace.h AFAIK, those `_*' functions are necessary in the libc_r, where it is needed to make sure that a thread-safe version of the function in question is called instead of unsafe one. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message