Perform an ioctl on a socket descriptor with BIO error reporting.
Declared in <openssl/bio.h>
int
BIO_socket_ioctl(
int fd,
long type,
void* arg);
0 on success, or -1 on error (OpenSSL error stack updated).
| Name | Description |
|---|---|
| fd | Socket file descriptor. |
| type | ioctl request code. |
| arg | Request-specific argument pointer. |