From 56b67d203dcd5a2d26b24e49bb155e5970b0783e Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 15 Jan 1998 04:31:28 +0000 Subject: Typo fix. Added EOPNOTSUPP and EMLINK to errors section. Added symlink(2) xref. Obtained from: OpenBSD --- lib/libc/sys/link.2 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'lib/libc') 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 -- cgit v1.1