Previous: x/ zvcmdout Up: Miscellaneous Routines Next: x/ zvpixsize

x/ zvhost

call xvhost(host, intfmt, realfmt, status)
status = zvhost(host, intfmt, realfmt);

Returns the integer and real data representations of a host given the host type name. The returned values may be used with the translation routines or the INTFMT and REALFMT system label items. This routine can also return the host type name, for use with the HOST system label.

This routine is rarely needed, as the normal case is to read any type of file (where you get INTFMT and REALFMT from the file), and to write in native format (where you don't need to specify the formats). However, this routine is useful in the rare case that a program needs to write in a non-native format. The user can select the machine type for output, and this routine will return the data representations needed for that machine type.