]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Examine the error code from the screen saver and act accordingly.
authoryokota <yokota@FreeBSD.org>
Sun, 17 Jan 1999 14:23:15 +0000 (14:23 +0000)
committeryokota <yokota@FreeBSD.org>
Sun, 17 Jan 1999 14:23:15 +0000 (14:23 +0000)
commit34bc78fe59c93130c9fa98e057e94b145b48eaa1
treed57e78254ed6b8b1ebcdd0591fd14beb667b23dc
parenta0fc4cfd6ec64fcbdb45a5fff50f4d785080f4c4
- Examine the error code from the screen saver and act accordingly.
0 success
EAGAIN try again later
other don't call this screen saver again
- Test flags consistently to examine the status of the screen saver.
scrn_blanked: the screen saver is running
scp->status & SAVER_RUNNING: the saver is running in this vty
- Correctlyu preserve status flag bits in set/restore_scrn_saver_mdoe().
sys/dev/syscons/syscons.c