diff options
Diffstat (limited to 'man2/readlink.2')
-rw-r--r-- | man2/readlink.2 | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/man2/readlink.2 b/man2/readlink.2 index da671a9be..9e2131adc 100644 --- a/man2/readlink.2 +++ b/man2/readlink.2 @@ -35,7 +35,7 @@ Standard C library .fi .RS -4 Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): +.MR feature_test_macros 7 ): .RE .P .BR readlink (): @@ -108,7 +108,7 @@ can be an empty string, in which case the call operates on the symbolic link referred to by .I dirfd (which should have been obtained using -.BR open (2) +.MR open 2 with the .B O_PATH and @@ -116,7 +116,7 @@ and flags). .P See -.BR openat (2) +.MR openat 2 for an explanation of the need for .BR readlinkat (). .SH RETURN VALUE @@ -133,7 +133,7 @@ is set to indicate the error. .B EACCES Search permission is denied for a component of the path prefix. (See also -.BR path_resolution (7).) +.MR path_resolution 7 .) .TP .B EBADF .RB ( readlinkat ()) @@ -226,7 +226,7 @@ symbolic link contents. The required size for the buffer can be obtained from the .I stat.st_size value returned by a call to -.BR lstat (2) +.MR lstat 2 on the link. However, the number of bytes written by .BR readlink () @@ -247,11 +247,11 @@ if the system does not have such limit. The following program allocates the buffer needed by .BR readlink () dynamically from the information provided by -.BR lstat (2), +.MR lstat 2 , falling back to a buffer of size .B PATH_MAX in cases where -.BR lstat (2) +.MR lstat 2 reports a size of zero. .P .\" SRC BEGIN (readlink.c) @@ -322,10 +322,10 @@ main(int argc, char *argv[]) .EE .\" SRC END .SH SEE ALSO -.BR readlink (1), -.BR lstat (2), -.BR stat (2), -.BR symlink (2), -.BR realpath (3), -.BR path_resolution (7), -.BR symlink (7) +.MR readlink 1 , +.MR lstat 2 , +.MR stat 2 , +.MR symlink 2 , +.MR realpath 3 , +.MR path_resolution 7 , +.MR symlink 7 |