SCO remove() and unlink()
mouring at etoh.eviladmin.org
mouring at etoh.eviladmin.org
Tue Dec 19 12:29:09 EST 2000
Not that I trust Redhat or Linux in general's manpage but it also
disagrees:
DESCRIPTION
remove deletes a name from the filesystem. It calls
unlink for files, and rmdir for directories.
- Ben
On Mon, 18 Dec 2000, Brian Kifiak wrote:
> > I checked various, but the clearest is FreeBSD's:
>
> openbsd's disagrees:
>
> > DESCRIPTION
> > The remove() function is an alias for the unlink(2) system call. It
> > deletes the file referenced by path.
>
> DESCRIPTION
> The remove() function removes the file or directory specified
> by path.
>
> If path specifies a directory, remove(path) is the equivalent
> of rmdir(path). Otherwise, it is the equivalent of
> unlink(path).
>
> ...
>
> STANDARDS
> The remove() function conforms to ANSI X3.159-1989 (``ANSI C'')
> and X/Open Portability Guide Issue 4.2 (``XPG4.2'').
>
More information about the openssh-unix-dev
mailing list