Retrieving a POD Status (C Program)

The following routine may be used to retrieve the status of the currently selected POD:

int dvc_get_status(char * buffer)

This function puts a null-terminated character string describing the status of the currently selected POD at the address specified by the parameter. The value returned is the length of this string. The buffer passed should be large enough to contain a string of 255 characters (unless you are sure the OSDI will not return such a long string).

An OSDI must not return more than 255 characters to the DP4 terminal manager when the corresponding function is called. The status information must not contain binary zeros. Currently QAB may not handle more than 128 characters correctly.