nbd_aio_notify_write3
Notify that the connection is writable
Usage
#include <libnbd.h>int nbd_aio_notify_write (struct nbd_handle *h);
Overview
Send notification to the state machine that the connection is writable. Typically this is called after your main loop has detected that the file descriptor associated with this connection is writable.
Return value
If the call is successful the function returns 0.
Errors
On error -1 is returned.
Refer to "ERROR HANDLING" in libnbd(3) for how to get further details of the error.
The following parameters must not be NULL: "h". For more information see "Non-NULL parameters" in libnbd(3).
Version
This function first appeared in libnbd 1.0.
If you need to test if this function is available at compile time check if the following macro is defined:
#define LIBNBD_HAVE_NBD_AIO_NOTIFY_WRITE 1
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.