Print this page
14249 pseudo-terminal nomenclature should reflect POSIX
Change-Id: Ib4a3cef899ff4c71b09cb0dc6878863c5e8357bc

*** 36,54 **** for certain that they have successfully updated the utmpx(4) database, these functions should not be used because they cannot communicate that for compatibility reasons. The utempter_add_record() and addToUtmp() functions add a login record to ! the utmpx(4) database for the TTY belonging to the pseudo-terminal master ! file descriptor fd, using the username corresponding with the real user ! ID of the calling process and the optional hostname host, limited to 256 ! characters, that is the size of ut_host member of struct utmpx minus ! terminating NUL character. The utempter_remove_record() and removeLineFromUtmp() functions mark the login session as being closed for the TTY belonging to the pseudo- ! terminal master file descriptor fd. The utempter_remove_added_record() and removeFromUtmp() functions have the same properties as the previously mentioned functions, except that they use an internally cached value of the file descriptor passed to utempter_add_record() and addToUtmp(). --- 36,54 ---- for certain that they have successfully updated the utmpx(4) database, these functions should not be used because they cannot communicate that for compatibility reasons. The utempter_add_record() and addToUtmp() functions add a login record to ! the utmpx(4) database for the TTY belonging to the pseudo-terminal ! manager file descriptor fd, using the username corresponding with the ! real user ID of the calling process and the optional hostname host, ! limited to 256 characters, that is the size of ut_host member of struct ! utmpx minus terminating NUL character. The utempter_remove_record() and removeLineFromUtmp() functions mark the login session as being closed for the TTY belonging to the pseudo- ! terminal manager file descriptor fd. The utempter_remove_added_record() and removeFromUtmp() functions have the same properties as the previously mentioned functions, except that they use an internally cached value of the file descriptor passed to utempter_add_record() and addToUtmp().
*** 70,75 **** Unsafe SEE ALSO pututxline(3c), utmpx(3head), utmpx(4) ! illumos May 5, 2020 illumos --- 70,75 ---- Unsafe SEE ALSO pututxline(3c), utmpx(3head), utmpx(4) ! illumos February 5, 2022 illumos