setmmsgfname - set the name of the message file

SYNOPSIS

#include "windows.h"
#include "stdio.h"
#include "api3.h"
#include "mmsg.h"

char FAR * FAR setmmsgfname(newfname)
char FAR *newfname;


DESCRIPTION
Setmmsgfname() will change the file that putmsg writes messages to. It returns its argument. The default is to write messages to file handle 2 (stderr).


EXAMPLE

APICP *acp;

...

setmmsgfname("msg.001");    /* set message file name to msg.001 */

...

acp=openapicp();              /* open mm api control parameters */


Copyright © Thunderstone Software     Last updated: Dec 10 2018
Copyright © 2019 Thunderstone Software LLC. All rights reserved.