From owner-freebsd-hackers Fri Oct 24 10:47:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA06888 for hackers-outgoing; Fri, 24 Oct 1997 10:47:02 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.5.84]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA06877 for ; Fri, 24 Oct 1997 10:46:56 -0700 (PDT) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.7/8.8.7) id KAA18352; Fri, 24 Oct 1997 10:46:49 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp03.primenet.com, id smtpd018345; Fri Oct 24 10:46:46 1997 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id KAA14398; Fri, 24 Oct 1997 10:46:42 -0700 (MST) From: Terry Lambert Message-Id: <199710241746.KAA14398@usr08.primenet.com> Subject: Re: zipfs filesystem anyone ? To: nate@mt.sri.com (Nate Williams) Date: Fri, 24 Oct 1997 17:46:42 +0000 (GMT) Cc: tlambert@primenet.com, nate@mt.sri.com, luigi@labinfo.iet.unipi.it, hackers@freebsd.org In-Reply-To: <199710232211.QAA17154@rocky.mt.sri.com> from "Nate Williams" at Oct 23, 97 04:11:28 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > It means that there are side effects to the interface, and that the > > caller is dependent on the side effects. > > Kind of like strdup(3)? *grin* More like a program using: pwe = getpwnam( "bob"); /*deal with bob...*/ ... pwe ... ... pwe ... (void)getpwnam( "tom"); /*deal with tom...*/ ... pwe ... ... pwe ... With the idea that it knows that getpwnam returns a pointer to a static data area, so it's OK to only set the pointer to that area once. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.