Subject: misc/3378: symlink(2): add xref to readlink(2)
To: None <gnats-bugs@gnats.netbsd.org>
From: Brian C. Grayson <bgrayson@r2d2.ece.utexas.edu>
List: netbsd-bugs
Date: 03/21/1997 21:56:16
>Number: 3378
>Category: misc
>Synopsis: symlink(2): add xref to readlink(2)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Mar 21 20:05:01 1997
>Last-Modified:
>Originator: Brian Grayson
>Organization:
Parallel and Distributed Systems
Electrical and Computer Engineering
The University of Texas at Austin
>Release: March 19, 1997
>Environment:
NetBSD marvin 1.2D NetBSD 1.2D (MARVIN) #22: Thu Mar 20 15:43:11 CST 1997 bgrayson@marvin:/a/orac/home/orac/src/sys/arch/i386/compile/MARVIN i386
>Description:
I wanted to look at the man page for the function for
returning the contents of a symlink (readlink), but
couldn't remember "readlink", so I looked at the
symlink man page's xrefs, and was surprised to not see
it listed. Eventually, I remembered readlink on my own.
>How-To-Repeat:
man symlink, see no xref to readlink. man readlink, and
see xref to symlink.
>Fix:
I don't know what order the xrefs should be in, but
I'd guess the appropriate patch for /usr/src/lib/libc/sys/symlink.2
would be along the lines of:
--- symlink.2 Fri Mar 21 21:53:10 1997
+++ symlink.2.new Fri Mar 21 21:53:49 1997
@@ -129,6 +129,7 @@
.El
.Sh SEE ALSO
.Xr link 2 ,
+.Xr readlink 2 ,
.Xr ln 1 ,
.Xr unlink 2
.Sh HISTORY
>Audit-Trail:
>Unformatted: