rnusers() 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.
#include <rpcsvc/rusers.h> rnusers(host) char *host rusers(host, up) char *host struct utmpidlearr *up;
The following XDR routines are also available:
xdr_utmpidle xdr_utmpidlearr
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97