Query: console_trylock
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CONSOLE_TRYLOCK(9) Driver Basics CONSOLE_TRYLOCK(9)NAMEconsole_trylock - try to lock the console system for exclusive use.SYNOPSISint console_trylock(void);ARGUMENTSvoid no argumentsDESCRIPTIONTried to acquire a lock which guarantees that the caller has exclusive access to the console system and the console_drivers list. returns 1 on success, and 0 on failure to acquire the lock.COPYRIGHTKernel Hackers Manual 3.10 June 2014 CONSOLE_TRYLOCK(9)