os2_ioctl()

The os2_ioctl() socket call performs special operations on sockets; in particular, operations related to returning status from kernel.

Syntax

#include <types.h>
#include <sys\socket.h>
#include <sys\ioctl.h>
#include <net\route.h>
#include <net\if.h>
#include <net\if_arp.h>
int os2_ioctl(s, cmd, data, lendata)
int s;
int cmd;
caddr_t data;
int lendata;

Parameters

s

cmd data lendata

Description

The following os2_ioctl() commands are supported for the internet domain. The data parameter is a pointer to data associated with the particular command, and its format depends on the command that is requested.

Option

SIOSTATARP SIOSTATAT