This commit is contained in:
Michael Kerrisk 2008-07-04 10:49:23 +00:00
parent 21399189b4
commit 8404ecb514
1 changed files with 2 additions and 2 deletions

View File

@ -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.