[#BIO_socket_ioctl] = BIO_socket_ioctl :mrdocs: Perform an ioctl on a socket descriptor with BIO error reporting. == Synopsis Declared in `<openssl/bio.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int BIO_socket_ioctl( int fd, long type, void* arg); ---- == Return Value 0 on success, or ‐1 on error (OpenSSL error stack updated). == Parameters [cols="1,4"] |=== | Name| Description | *fd* | Socket file descriptor. | *type* | ioctl request code. | *arg* | Request‐specific argument pointer. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#