Add xref to lchown(2) and symlink(2).

Obtained from: {Net|Open}BSD
This commit is contained in:
Philippe Charnier 1997-06-03 06:27:44 +00:00
parent 7999ef2f38
commit 4c48180751

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)symlink.7 8.3 (Berkeley) 3/31/94
.\" $Id$
.\" $Id: symlink.7,v 1.4 1997/02/22 14:03:50 peter Exp $
.\"
.Dd March 31, 1994
.Dt SYMLINK 7
@ -106,9 +106,10 @@ the system call
would return a file descriptor to the file
.Dq afile .
.Pp
There are four system calls that do not follow links, and which operate
There are five system calls that do not follow links, and which operate
on the symbolic link itself.
They are:
.Xr lchown 2 ,
.Xr lstat 2 ,
.Xr readlink 2 ,
.Xr rename 2 ,
@ -136,7 +137,11 @@ The
.Bx 4.4
system differs from historical 4BSD systems in that the system call
.Xr chown 2
has been changed to follow symbolic links.
has been changed to follow symbolic links. The
.Xr lchown 2
system call was added later when the limitations of the new
.Xr chown 2
became apparent.
.Ss Commands not traversing a file tree.
The second area is symbolic links, specified as command line file
name arguments, to commands which are not traversing a file tree.
@ -424,9 +429,11 @@ options.
.Xr pax 1 ,
.Xr rm 1 ,
.Xr tar 1 ,
.Xr lchown 2 ,
.Xr lstat 2 ,
.Xr readlink 2 ,
.Xr rename 2 ,
.Xr symlink 2 ,
.Xr unlink 2 ,
.Xr fts 3 ,
.Xr remove 3 ,