SYNOPSIS#include "windows.h"
#include "stdio.h"
#include "api3.h"
#include "mmsg.h"
char FAR * FAR setmmsgfname(newfname)
char FAR *newfname;
DESCRIPTIONSetmmsgfname()
will change the file that putmsg
writes messages
to. It returns its argument. The default is to write messages to
file handle 2 (stderr)
.
EXAMPLEAPICP *acp;
...
setmmsgfname("msg.001"); /* set message file name to msg.001 */
...
acp=openapicp(); /* open mm api control parameters */