---
name: "console_lock"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/console_lock"
---

# console\_lock(9)

lock the console system for exclusive use.

## NAME

console\_lock - lock the console system for exclusive use.

## SYNOPSIS

**void console\_lock(***void***);**

## ARGUMENTS

*void*

no arguments

## DESCRIPTION

Acquires a lock which guarantees that the caller has exclusive access to the console system and the console\_drivers list.

Can sleep, returns nothing.

## COPYRIGHT
