aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/link.2
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>1998-01-15 04:31:28 +0000
committerAlexander Langer <alex@FreeBSD.org>1998-01-15 04:31:28 +0000
commitcbc3778c2f075d5ffc1a67f948625f10a5bb5a25 (patch)
treeefc00831daf07305ee5f41ae7d3423b99d4e11fb /lib/libc/sys/link.2
parent6f70df1587eec72b975470768e41f922389294a3 (diff)
downloadsrc-cbc3778c2f075d5ffc1a67f948625f10a5bb5a25.tar.gz
src-cbc3778c2f075d5ffc1a67f948625f10a5bb5a25.zip
Typo fix.
Added EOPNOTSUPP and EMLINK to errors section. Added symlink(2) xref. Obtained from: OpenBSD
Notes
Notes: svn path=/head/; revision=32514
Diffstat (limited to 'lib/libc/sys/link.2')
-rw-r--r--lib/libc/sys/link.214
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/libc/sys/link.2 b/lib/libc/sys/link.2
index e0bc45ecf535..3bdbdfdc99e3 100644
--- a/lib/libc/sys/link.2
+++ b/lib/libc/sys/link.2
@@ -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