diff options
Diffstat (limited to 'man3/getutent.3')
-rw-r--r-- | man3/getutent.3 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/man3/getutent.3 b/man3/getutent.3 index 656a52cd2..d7cb75256 100644 --- a/man3/getutent.3 +++ b/man3/getutent.3 @@ -60,7 +60,7 @@ reads a line from the current file position in the utmp file. It returns a pointer to a structure containing the fields of the line. The definition of this structure is shown in -.BR utmp (5). +.MR utmp 5 . .P .BR getutid () searches forward from the current file position in the utmp @@ -134,7 +134,7 @@ Record not found. and the .BR getut* () functions can also fail for the reasons described in -.BR open (2). +.MR open 2 . .SH FILES .TP .I /var/run/utmp @@ -144,7 +144,7 @@ database of currently logged-in users database of past user logins .SH ATTRIBUTES For an explanation of the terms used in this section, see -.BR attributes (7). +.MR attributes 7 . .TS allbox; lb lb lbx @@ -276,7 +276,7 @@ glibc adds reentrant versions .fi .P Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): +.MR feature_test_macros 7 ): .P .BR getutent_r (), .BR getutid_r (), @@ -302,9 +302,9 @@ The following example adds and removes a utmp record, assuming it is run from within a pseudo terminal. For usage in a real application, you should check the return values of -.BR getpwuid (3) +.MR getpwuid 3 and -.BR ttyname (3). +.MR ttyname 3 . .P .\" SRC BEGIN (getutent.c) .EX @@ -351,5 +351,5 @@ main(void) .EE .\" SRC END .SH SEE ALSO -.BR getutmp (3), -.BR utmp (5) +.MR getutmp 3 , +.MR utmp 5 |