rnusers(3R) SDK R4.11 rnusers(3R)
NAME
rnusers, rusers - return information about users on remote machines
PROTOCOL
/usr/include/rpcsvc/rnusers.x
PROGRAMMING
#include <rpcsvc/rusers.h>
rnusers(host)
char *host
rusers(host, up)
char *host
struct utmpidlearr *up;
DESCRIPTION
Rnusers(3R) returns the number of users logged on to host (-1 if it
cannot determine that number). rusers() fills the utmpidlearr
structure with data about host, and returns 0 if successful.
The following XDR routines are also available:
xdrutmpidle
xdrutmpidlearr
Programs that use this protocol must be loaded using the flag -l
rpcsvc.
SEE ALSO
rusers(1C), xdr(3N).
Licensed material--property of copyright holder(s)