Check if the character device output is busy
#include <qvm/cdev.h>
static int cdev_output_busy(const struct cdev_state *const cds)
Calling this static inline function makes sense only if you are using the internal buffers (non-zero buffer size when calling cdev_setup()).
If successful, flags; otherwise a negative errno value.