JIOCTL(9.4) JIOCTL(9.4) NAME jioctl - mux ioctl requests SYNOPSIS #include "/usr/jerq/include/jioctl.h" ioctl(fd, request, 0) ioctl(fd, JWINSIZE, win) struct winsize *win; DESCRIPTION Mux(9.1) supports several ioctl(2) requests for Unix pro- grams attached to layers. The requests are: JMUX returns 0 if file descriptor fd is connected to a mux layer, -1 otherwise. JTERM resets the layer connected to fd to the default ter- minal program. JBOOT initiates the down-load protocol to replace the layer's terminal program. Usually called by 32ld(9.1). JZOMBOOT is the same as JBOOT, but disables execution of the program when the download is complete (see the -z flag of 32ld). JWINSIZE returns, in the location pointed to by the third argument, a structure describing the size of the layer connected to fd, with character `0' being the unit of size. The structure is: struct winsize { char bytesx, bytesy; /* size in characters */ short bitsx, bitsy; /* size in pixels */ }; JEXIT causes mux to exit. SEE ALSO 32ld(9.1), mux(9.1), ioctl(2)