From owner-freebsd-hackers Mon May 5 23:55:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA20641 for hackers-outgoing; Mon, 5 May 1997 23:55:31 -0700 (PDT) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA20635 for ; Mon, 5 May 1997 23:55:27 -0700 (PDT) Received: (from sos@localhost) by sos.freebsd.dk (8.8.5/8.7.3) id IAA02925; Tue, 6 May 1997 08:56:01 +0200 (MEST) From: Søren Schmidt Message-Id: <199705060656.IAA02925@sos.freebsd.dk> Subject: Re: Where the heck is the source to open(2)? In-Reply-To: <199705060543.WAA05325@schizo.cdsnet.net> from Jaye Mathisen at "May 5, 97 10:43:20 pm" To: mrcpu@schizo.cdsnet.net (Jaye Mathisen) Date: Tue, 6 May 1997 08:55:55 +0200 (MEST) Cc: hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In reply to Jaye Mathisen who wrote: > > I can find stdio fopen's, I can find opendir()'s, but for the life of me, I can't > find the stupid source to open(2). I can even find the man page for it... > > What the heck tool do I use to manage identifiers across 8 kazillion files? > Well, there is no source for open :) Nah, thats only partly true, look in lib/libc/sys/Makefile.inc and you'l see how the "source" is generated from various include files. Open and friends are not really functions, they are systemcalls, and get translated directly into that... > Anyway, any tip appreciated. You got it :) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..