]> git.saurik.com Git - apple/libc.git/blame - gen/NetBSD/endutxent.3.patch
Libc-391.tar.gz
[apple/libc.git] / gen / NetBSD / endutxent.3.patch
CommitLineData
3d9156a7
A
1--- endutxent.3.orig 2004-07-13 09:02:01.000000000 -0700
2+++ endutxent.3 2004-08-05 15:41:50.000000000 -0700
3@@ -34,7 +34,7 @@
4 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
5 .\" POSSIBILITY OF SUCH DAMAGE.
6 .\"
7-.Dd September 26, 2002
8+.Dd July 13, 2004
9 .Dt ENDUTXENT 3
10 .Os
11 .Sh NAME
12@@ -105,20 +105,14 @@
13 .Pp
14 .Bd -literal
15 struct utmpx {
16- char ut_name[_UTX_USERSIZE]; /* login name */
17- char ut_id[_UTX_IDSIZE]; /* inittab id */
18- char ut_line[_UTX_LINESIZE]; /* tty name */
19- char ut_host[_UTX_HOSTSIZE]; /* host name */
20- uint16_t ut_session; /* session id used for windowing */
21- uint16_t ut_type; /* type of this entry */
22- pid_t ut_pid; /* process id creating the entry */
23- struct {
24- uint16_t e_termination; /* process termination signal */
25- uint16_t e_exit; /* process exit status */
26- } ut_exit;
27- struct sockaddr_storage ut_ss; /* address where entry was made from */
28- struct timeval ut_tv; /* time entry was created */
29- uint32_t ut_pad[10]; /* reserved for future use */
30+ char ut_user[_UTX_USERSIZE]; /* login name */
31+ char ut_id[_UTX_IDSIZE]; /* id */
32+ char ut_line[_UTX_LINESIZE]; /* tty name */
33+ pid_t ut_pid; /* process id creating the entry */
34+ short ut_type; /* type of this entry */
35+ struct timeval ut_tv; /* time entry was created */
36+ char ut_host[_UTX_HOSTSIZE]; /* host name */
37+ __uint32_t ut_pad[16]; /* reserved for future use */
38 };
39 .Ed
40 .Pp
41@@ -143,8 +137,7 @@
42 Time before system clock change.
43 .It Dv RUN_LVL
44 Run level.
45-Provided for compatibility, not used on
46-.Nx .
47+Provided for compatibility, not used.
48 .It Dv USER_PROCESS
49 A user process.
50 .El
51@@ -163,7 +156,6 @@
52 returns the structure that was successfully written, or
53 .Dv NULL .
54 .Sh SEE ALSO
55-.Xr logwtmpx 3 ,
56 .Xr utmpx 5
57 .Sh STANDARDS
58 The