DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

xtd(ADM)


xtd -- extract and print xt driver link structure

Syntax

xtd [ -f ] [ -n ... ]

Description

The xtd command is a debugging tool for the xt(HW) driver. It performs an XTIOCDATA ioctl(S) call on its standard input file to extract the link data structure for the attached group of channels. This call will fail if data extraction has not been configured in the driver or the standard input is not attached to an xtd channel. The data is printed one item per line on the standard output. The output should probably be formatted via pr -3.

The optional flags affect output as follows:


-n
n is a number in the range 0 to 7. Channel n is included in the list of channels to be printed. The default prints all channels, whereas the occurrence of one or more channel numbers implies a subset.

-f
Causes a ``formfeed'' character to be put out at the end of the output for the benefit of page-display programs.

Exit values

Returns 0 upon successful completion; 1 otherwise.

See also

ioctl(S), pr(C), xt(HW), xts(ADM), xtt(ADM), xtproto(M)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003