Phantasmal Site > Phantasmal API > API Listing > get_idle_time
API Function: get_idle_time
- Summary:
- get the user's idle time
- Defined In LPC Object:
- /usr/System/obj/user.c
- Prototype:
- int get_idle_time(void)
- Can Be Called By:
- Anybody (for now)
- Description:
-
Return the user's idle time in seconds. The idle time is the
time since the last network input on the user's connection.
- Return Value:
-
The user's idle time in seconds
- Errors:
- Normally none.
- See Also:
- get_name
|