Intel XENIX 286 Programmers Guide (86) - Tenox.tc

Intel XENIX 286 Programmers Guide (86) - Tenox.tc Intel XENIX 286 Programmers Guide (86) - Tenox.tc

09.06.2013 Views

XENIX Programming Programming Commands time - Times a command. Syntax time command Description The given command is executed; after it is complete, time prints the elapsed time during the command ("real"), the time spent in the kernel ("sys"), and the time spent in execution of the command outside of the kernel ("user"). Times are reported in seconds. The times are printed on the standard error output. See Also times in "System Functions" in the XENIX 286 C Library Guide B-1 15

Programming Commands XENIX Programming tso rt - Sorts a file topologically. Syntax tsort [ file ] Description tsort produces on the standard output a totally ordered list of items consistent with a partial ordering of items mentioned in the input file. If no file is specified, the standard input is understood. The input consists of pairs of items (nonempty strings) separated by blanks. Pairs of different items indicate ordering. Pairs of identical items indicate presence, but not ordering. See Also I order Diagnostics Odd data: There is an odd number of fields in the input file. Notes The sorting algorithm is quadratic, which can be slow if you have a large input list. B-116

Programming Commands <strong>XENIX</strong> Programming<br />

tso rt - Sorts a file topologically.<br />

Syntax<br />

tsort [ file ]<br />

Description<br />

tsort produces on the standard output a totally ordered list of items consistent with a<br />

partial ordering of items mentioned in the input file. If no file is specified, the standard<br />

input is understood.<br />

The input consists of pairs of items (nonempty strings) separated by blanks. Pairs of<br />

different items indicate ordering. Pairs of identical items indicate presence, but not<br />

ordering.<br />

See Also<br />

I order<br />

Diagnostics<br />

Odd data: There is an odd number of fields in the input file.<br />

Notes<br />

The sorting algorithm is quadratic, which can be slow if you have a large input list.<br />

B-116

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!