mirror of https://github.com/mkerrisk/man-pages
spfix
This commit is contained in:
parent
21399189b4
commit
8404ecb514
|
@ -74,7 +74,7 @@ code is done accessing the file with the other functions.
|
|||
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 defintion of this structure is shown in
|
||||
The definition of this structure is shown in
|
||||
.BR utmp (5).
|
||||
.PP
|
||||
.BR getutid ()
|
||||
|
@ -229,7 +229,7 @@ On success they return 0, and a pointer to the result is written in
|
|||
.IR *ubufp .
|
||||
On error these functions return \-1.
|
||||
There are no utmpx equivalents of the above functions.
|
||||
(POSIX.1 does not sdpecify such functions.)
|
||||
(POSIX.1 does not specify such functions.)
|
||||
.SH EXAMPLE
|
||||
The following example adds and removes a utmp record, assuming it is run
|
||||
from within a pseudo terminal.
|
||||
|
|
Loading…
Reference in New Issue