Understanding the User APIs


The ntwdt driver provides several application programming interfaces (APIs) to application programs.

You must open the /dev/ntwdt device node before issuing the watchdog ioctls.

Note that only a single instance of open() is allowed on /dev/ntwdt; more than one instance of open() will generate the following error message:

EAGAIN The driver is busy, try again.

The following APIs are used with the ALOM watchdog timer:


Understanding the ALOM watchdog timer

Driver properties

Data structures

Error messages

Sample program