Subject: Re: funlink() for fun!
From: Ignatios Souvatzis <email@example.com>
Date: 07/12/2003 15:18:00
Content-Type: text/plain; charset=us-ascii
On Fri, Jul 11, 2003 at 04:48:54PM -0400, der Mouse wrote:
> Not quite. chdir() operates on a process and a directory; the pathname
> is necessary only to identify the directory. It could equally well
> identify the directory by a file descriptor open on it, and that's
> exactly what fchdir() does. truncate() operates on a file; the
> pathname is used merely to find the desired file. It too could equally
> well identify the file by a file descriptor open on it, and that's
> exactly what ftruncate() does.
> However, unlink() does not operate on a file, except as a side effect;
> it operates on a link to a file.=20
Just what I wanted to write myself.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
-----END PGP SIGNATURE-----