Path: utzoo!mnetor!uunet!vsi!sullivan From: sullivan@vsi.UUCP (Michael T Sullivan) Newsgroups: comp.unix.wizards Subject: Re: access(2) (was: Writing to A NON-Existing File in "C") Message-ID: <594@vsi.UUCP> Date: 22 Apr 88 20:46:32 GMT References: <9654@jplgodo.UUCP> <14020033@hpisod2.HP.COM> Organization: V-Systems, Inc. -- Santa Ana, CA Lines: 12 On the one side you have people giving reasons not to use access() and on the other you have people saying "but what's the harm". Remember, you can use system("ls filename > /tmp/snork") to determine whether a file exists, it's just not the best/right way. If you can't give an reason any better than "what's the harm" (and the stat people give good reasons not to) then just use access(). -- Michael Sullivan {uunet|attmail}!vsi!sullivan sullivan@vsi.com HE V MTL