MODULE LinIoctl ["libc.so.70.0"];

	(*
		A. V. Shiryaev, 2012.11, 2013.08

		OpenBSD 5.4
		32-bit
	*)

	CONST
		(* /usr/include/sys/ttycom.h *)
%%defs-ttycom%%
%%defs-ioctl%%
	PROCEDURE [ccall] ioctl0* ["ioctl"] (d: INTEGER; req: INTEGER): INTEGER;
	PROCEDURE [ccall] ioctl1* ["ioctl"] (d: INTEGER; req: INTEGER; VAR arg: INTEGER): INTEGER;

END LinIoctl.
