dev_lock()

Lock a device

Synopsis:

#include <sys/io-char.h>

#define dev_lock(dev)

Arguments:

dev
The device to be locked.
Note:
This argument is ignored and locking is done on the TTYCTRL structure instead

Description:

Lock the device. Locks the TTYCTRL structure global variable ttyctrl. Requires that TTYCTRL structure is in scope, named as ttyctrl.

Page updated: