summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1998-01-15 04:31:28 +0000
committeralex <alex@FreeBSD.org>1998-01-15 04:31:28 +0000
commit56b67d203dcd5a2d26b24e49bb155e5970b0783e (patch)
treec0f96bd5c7e1573b3fc7385b530b279eb0710b44 /lib/libc
parent74b3033fffc2e9b4cb8c8c68bfd8edfd5551ede9 (diff)
downloadFreeBSD-src-56b67d203dcd5a2d26b24e49bb155e5970b0783e.zip
FreeBSD-src-56b67d203dcd5a2d26b24e49bb155e5970b0783e.tar.gz
Typo fix.
Added EOPNOTSUPP and EMLINK to errors section. Added symlink(2) xref. Obtained from: OpenBSD
Diffstat (limited to 'lib/libc')
-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 e0bc45e..3bdbdfd 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
OpenPOWER on IntegriCloud