UNIX Free Pascal



         

stdio - 4


I_GWROPT =__SID or 20; (* Return the current write mode setting. *)

I_LIST =__SID or 21; (* List all the module names on the STREAM, up

to and including the topmost driver name. *)

I_PLINK =__SID or 22; (* Connect two STREAMs with a persistent

link. *)

I_PUNLINK =__SID or 23; (* Disconnect the two STREAMs that were

connected with a persistent link. *)

I_FLUSHBAND =__SID or 28; (* Flush only band specified. *)

I_CKBAND =__SID or 29; (* Check if the message of a given priority

band exists on the STREAM head read

queue. *)

I_GETBAND =__SID or 30; (* Return the priority band of the first

message on the STREAM head read queue. *)

I_ATMARK =__SID or 31; (* See if the current message on the STREAM

head read queue is "marked" by some module

downstream. *)

I_SETCLTIME =__SID or 32; (* Set the time the STREAM head will delay when

a STREAM is closing and there is data on

the write queues. *)

I_GETCLTIME =__SID or 33; (* Get current value for closing timeout. *)

I_CANPUT =__SID or 34; (* Check if a certain band is writable. *)

(* *)

INADDR_ANY=0;

{ Maximum queue length specificable by listen. }

SOMAXCONN = 5;

{ Flags we can use with send/ and recv. }

{ process out-of-band data }

MSG_OOB = $1;

{ peek at incoming message }

MSG_PEEK = $2;

{ send without using routing tables }

MSG_DONTROUTE = $4;

{ Setsockoptions(2) level. Thanks to BSD these must match IPPROTO_xxx }

SOL_IP = 0;

SOL_IPX = 256;

SOL_AX25 = 257;

SOL_ATALK = 258;

SOL_NETROM = 259;

SOL_TCP = 6;

SOL_UDP = 17;

{ IP options }

IPTOS_LOWDELAY = $10;