proc_uptime()

Uptime

Syntax:

double proc_uptime(void);

Arguments:

no arguments

Description:

The total number of seconds the system has been up.

Return Values:

On success, returns the system uptime. On error, -1 is returned.

See Also:

proc_uptime_idle()



INDEX