Check if a character device's output is busy
#include <qvm/cdev.h>
static int cdev_output_busy(const struct cdev_state *const cds)
This function checks if a character device's output is busy and hence, presently can't receive data. Calling this function makes sense only if you are using the internal buffers (i.e., you specified a non-zero buffer size when calling cdev_setup()).
An integer indicating whether the device output is busy (1) or not busy (0).