unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-4.1.3)
Page:
Section:
Apropos / Subsearch:
optional field

RNUSERS(3R)                                                        RNUSERS(3R)



NAME
       rnusers, rusers - return information about users on remote machines

PROTOCOL
       /usr/include/rpcsvc/rnusers.x

DESCRIPTION
       rnusers()  returns the number of users logged on to host (-1 if it can-
       not determine that number).  rusers() fills the  utmpidlearr  structure
       with data about host, and returns 0 if successful.

PROGRAMMING
       #include <&lt;rpcsvc/rusers.h>&gt;
       rnusers(host)
       char *host
       rusers(host, up)
       char *host
       struct utmpidlearr *up;

       The following XDR routines are also available:
       xdr_utmpidle
       xdr_utmpidlearr

SEE ALSO
       rusers(1C)



                                6 October 1987                     RNUSERS(3R)