Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../.././../usr/include/protocols/rwhod.h
Real path: /usr/include/protocols/rwhod.h
Zurück
/* * Copyright (c) 1989, 2016, Oracle and/or its affiliates. All rights reserved. */ /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* * Portions of this source code were derived from Berkeley 4.3 BSD * under license from the Regents of the University of California. */ /* * rwho protocol packet format. */ #ifndef _PROTOCOLS_RWHOD_H #define _PROTOCOLS_RWHOD_H #ifdef __cplusplus extern "C" { #endif struct outmp { char out_line[8]; /* tty name */ char out_name[8]; /* user id */ uint_t out_time; /* time on */ }; struct whod { char wd_vers; /* protocol version # */ char wd_type; /* packet type, see below */ char wd_pad[2]; uint_t wd_sendtime; /* time stamp by sender */ uint_t wd_recvtime; /* time stamp applied by receiver */ char wd_hostname[32]; /* hosts's name */ int wd_loadav[3]; /* load average as in uptime */ uint_t wd_boottime; /* time system booted */ struct whoent { struct outmp we_utmp; /* active tty info */ uint_t we_idle; /* tty idle time */ } wd_we[1024 / sizeof (struct whoent)]; }; #define WHODVERSION 1 #define WHODTYPE_STATUS 1 /* host status */ #ifdef __cplusplus } #endif #endif /* _PROTOCOLS_RWHOD_H */