In file input.h:

void inp_setidle

(int t)

Set user inactivity timeout.

Documentation

Set user inactivity timeout.

Not to be confused with input timeouts arranged by inp_timeout(). This function sets the user inactivity timeout for the current user. When the timeout counter reaches approximately 60 seconds, bbsd lets the user know that they will be kicked out in a minute. If the counter reaches zero, the user is kicked out. In the meantime, any input from the user resets the timer to the value specified here.

Idle timeouts are imposed on all users except those with the Master Key (i.e. Sysops). Certain conditions may force timeouts even on Sysops (like logging in over telnet).

Parameters:
t - the inactivity time in seconds.
See Also:
inp_resetidle().

Alphabetic index



This page was generated with the help of DOC++.