dev_cleanup()

Clean up a device

Synopsis:

#include <sys/io-char.h>

int dev_cleanup( TTYDEV* dev );

Arguments:

dev
The device to be cleaned up.

Library:

libio-char

Description:

The dev_cleanup() function cleans up each device handled by the io-char library. Call this function once for each device, from the driver's signal handler thread.

Returns:

EOK

Page updated: