Module Name: src Committed By: wiz Date: Sat Dec 1 20:48:26 UTC 2012
Modified Files: src/lib/libc/sys: link.2 Log Message: Bump date. New sentence, new line. Wording/articles. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/lib/libc/sys/link.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/link.2 diff -u src/lib/libc/sys/link.2:1.28 src/lib/libc/sys/link.2:1.29 --- src/lib/libc/sys/link.2:1.28 Sat Dec 1 20:45:01 2012 +++ src/lib/libc/sys/link.2 Sat Dec 1 20:48:26 2012 @@ -1,4 +1,4 @@ -.\" $NetBSD: link.2,v 1.28 2012/12/01 20:45:01 wiz Exp $ +.\" $NetBSD: link.2,v 1.29 2012/12/01 20:48:26 wiz Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 2011 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)link.2 8.3 (Berkeley) 1/12/94 .\" -.Dd January 12, 1994 +.Dd November 18, 2012 .Dt LINK 2 .Os .Sh NAME @@ -88,22 +88,23 @@ except if .Fa name1 (resp. .Fa name2 ) -is relative. In that case, it is looked up from a directory whose file +is relative. +In that case, it is looked up from a directory whose file descriptor was passed as .Fa fd1 (resp. -.Fa fd2 ). +.Fa fd2 ) . Search permission is required on passed directory file descriptors -except if they were open with the +except if they were opened with the .Dv O_SEARCH -option. +flag. .Fa fd1 or .Fa fd2 can be set to .Dv AT_FDCWD -in order to specify current directory. +in order to specify the current directory. .Pp When operating on a symlink, .Fn link @@ -199,4 +200,3 @@ function conforms to .Fn linkat conforms to .St -p1003.1-2008 . -