Typo fix.

Added EOPNOTSUPP and EMLINK to errors section.
Added symlink(2) xref.

Obtained from:	OpenBSD
This commit is contained in:
Alexander Langer 1998-01-15 04:31:28 +00:00
parent 6f70df1587
commit cbc3778c2f

View file

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)link.2 8.3 (Berkeley) 1/12/94
.\" $Id$
.\" $Id: link.2,v 1.8 1997/02/22 15:03:58 peter Exp $
.\"
.Dd January 12, 1994
.Dt LINK 2
@ -49,7 +49,7 @@ function call
atomically creates the specified directory entry (hard link)
.Fa name2
with the attributes of the underlying object pointed at by
.Fa name1
.Fa name1 .
If the link is successful: the link count of the underlying object
is incremented;
.Fa name1
@ -93,6 +93,15 @@ A component of either pathname exceeded 255 characters,
or entire length of either path name exceeded 1023 characters.
.It Bq Er ENOENT
A component of either path prefix does not exist.
.It Bq Er EOPNOTSUPP
The file system containing the file named by
.Fa name1
does not support links.
.It Bq Er EMLINK
The link count of the file named by
.Fa name1
would exceed
.Dv {LINK_MAX}.
.It Bq Er EACCES
A component of either path prefix denies search permission.
.It Bq Er EACCES
@ -139,6 +148,7 @@ One of the pathnames specified
is outside the process's allocated address space.
.El
.Sh SEE ALSO
.Xr readlink 2 ,
.Xr symlink 2 ,
.Xr unlink 2
.Sh STANDARDS