Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sockio(7) — Motorola System V 88k Release 4 Version 4.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ioctl(2)

getsockopt(2)

filio(4)

sockio(7)  —  SPECIAL FILES AND DEVICES

NAME

sockio − ioctls that operate directly on sockets

SYNOPSIS

#include <sys/sockio.h>

DESCRIPTION

The ioctls listed in this manual page apply directly to sockets, independent of any underlying protocol.  The setsockopt call (see getsockopt(3N)) is the primary method for operating on sockets, rather than on the underlying protocol or network interface.  ioctls for a specific network interface or protocol are documented in the manual page for that interface or protocol. 

SIOCSPGRP, FIOSETOWN
The argument is a pointer to an int.  Set the process-group ID that will subsequently receive SIGIO or SIGURG signals for the socket referred to by the descriptor passed to ioctl to the value of that int.  For the M88000 architecture, BSD semantics are provided; if the int argument is less than zero then it refers to a process-group ID which is the absolute value of the argument.  If the argument is greater than zero refers to a process ID . 

SIOCGPGRP, FIOGETOWN
The argument is a pointer to an int.  Set the value of that int to the process-group ID that is receiving SIGIO or SIGURG signals for the socket referred to by the descriptor passed to ioctl.  For the M88000 architecture, BSD semantics are provided; if the int argument is less than zero then it refers to a process-group ID which is the absolute value of the argument.  If the argument is greater than zero refers to a process ID . 

SIOCCATMARK The argument is a pointer to an int.  Set the value of that int to 1 if the read pointer for the socket referred to by the descriptor passed to ioctl points to a mark in the data stream for an out-of-band message.  Set the value of that int to 0 if the read pointer for the socket referred to by the descriptor passed to ioctl does not point to a mark in the data stream for an out-of-band message. 

SEE ALSO

ioctl(2), getsockopt(2), filio(4)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026