Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rnusers(3R) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rusers(1C)

rnusers(3R)

NAME

rnusers, rusers − return information about users on remote machines

PROTOCOL

/usr/include/rpcsvc/rnusers.x

DESCRIPTION

Return the number of users logged on to a host. 

PROGRAMMING

#include <rpcsvc/rusers.h>
rnusers(host)
  char ∗host
rusers(host, up)
  char ∗host
  struct utmpidlearr ∗up;

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.

The following XDR routines are also available:

xdr_utmpidle
xdr_utmpidlearr

SEE ALSO

rusers(1C)

CX/UX Network File System

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026