int QSwrite_prob_file (QSprob p, FILE *file, const char *filetype)
/* p is a QSprob, a handle to an existing LP problem. */
/* Write the problem to the screen in LP format.      */

int rval;

rval = QSwrite_prob_file (p, stdout, "LP");
if (rval) {
    fprintf (stderr,
             "Could not write LP to stdout, error code %d\n", rval);
}