ssize_t qiwrite(struct queue *q, void *vp, int len) { return __qwrite(q, vp, len, MEM_ATOMIC, 0); }
ssize_t qwrite(struct queue *q, void *vp, int len) { return __qwrite(q, vp, len, MEM_WAIT, QIO_CAN_ERR_SLEEP | QIO_LIMIT); }
ssize_t qwrite_nonblock(struct queue *q, void *vp, int len) { return __qwrite(q, vp, len, MEM_WAIT, QIO_CAN_ERR_SLEEP | QIO_LIMIT | QIO_NON_BLOCK); }
_WCRTLINK int write( int handle, const void *buffer, unsigned len ) { return( __qwrite( handle, buffer, len ) ); }