proc_users()

The number of users currently logged

Syntax:

int proc_users(void);

Arguments:

no arguments

Description:

The number of users currently logged in to the current host

Return Values:

On success, returns the number of users currently logged. On error, -1 is returned.



INDEX