Perform an ioctl on a socket descriptor with BIO error reporting.

Synopsis

Declared in <openssl/bio.h>

int
BIO_socket_ioctl(
    int fd,
    long type,
    void* arg);

Return Value

0 on success, or ‐1 on error (OpenSSL error stack updated).

Parameters

Name

Description

fd

Socket file descriptor.

type

ioctl request code.

arg

Request‐specific argument pointer.

Created with MrDocs