1. NAME

console_trylock - try to lock the console system for exclusive use.

2. SYNOPSIS

int console_trylock( void );

3. ARGUMENTS

void
    no arguments

4. DESCRIPTION

Tried 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.

5. COPYRIGHT