Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
SAVELOFIG(3)		  MBK LOGICAL UTILITY FUNCTIONS 	    SAVELOFIG(3)

NAME
     savelofig - save a logical figure on disk

SYNOPSIS
     #include "mlu.h"
     void savelofig(ptfig)
     lofig_list *ptfig;

PARAMETER
     ptfig		 Pointer to the lofig to be written on disk

DESCRIPTION
     savelofig	writes	on  disk the contents of the figure pointer to by ptfig.
     All the figure lists are ran through, and the appropriate objects	written,
     independently of the figure mode.
     The  savelofig  function in fact performs a call to a driver, chosen by the
     MBK_OUT_LO(1) environment variable. The directory in which the file  is  to
     be   written  is  the  one  set  by  MBK_WORK_LIB(1).   See  MBK_OUT_LO(1),
     MBK_WORK_LIB(1) and mbkenv(3) for details.

ERRORS
     "*** mbk error *** not supported logical output format 'xxx'"
	    The environment variable MBK_OUT_LO is not set to  a  legal  logical
	    format.
     "*** mbk error *** savelofig : could not open file figname.ext"
	    Either  the  directory  or the file are write protected, so it's not
	    possible to open figname.ext, where ext is the  file  format  exten-
	    sion, for writing.

EXAMPLE
     #include "mlu.h"
     void save_na2_y()
     {
	savelofig(getlofig("na2_y"));
     }

SEE ALSO
     mbk(1),   mbkenv(3),   lofig(3),	addlofig(3),  getlofig(3),  dellofig(3),
     loadlofig(3),     flattenlofig(3),     rflattenlofig(3),	  MBK_OUT_LO(1),
     MBK_WORK_LIB(1).

ASIM/LIP6			 October 1, 1997		    SAVELOFIG(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=savelofig&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help