Correct the description of the ut_id field

This commit is contained in:
Michael Kerrisk 2008-06-29 05:50:02 +00:00
parent 3721bd3f13
commit 136c760794
1 changed files with 3 additions and 3 deletions

View File

@ -171,9 +171,9 @@ clears \fIut_user\fP, \fIut_host\fP and \fIut_time\fP with null bytes.
.PP
.BR xterm (1)
and other terminal emulators directly create a
\fBUSER_PROCESS\fP record and generate the \fIut_id\fP by using the last
two letters of \fI/dev/ttyp\fP\fI%c\fP or by using \fIp\fP\fI%d\fP for
\fI/dev/pts/\fP\fI%d\fP.
\fBUSER_PROCESS\fP record and generate the \fIut_id\fP by using the
string that suffix part of the terminal name (the characters
following \fI/dev/[pt]ty\fP.
If they find a \fBDEAD_PROCESS\fP for this ID,
they recycle it, otherwise they create a new entry.
If they can, they