setmmsgfname - set the name of the message file


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

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

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).


APICP *acp;


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


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

Copyright © Thunderstone Software     Last updated: May 19 2023
Copyright © 2023 Thunderstone Software LLC. All rights reserved.