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

FreeBSD Manual Pages

  
 
  

home | help
SAVEPHFIG(3)		MBK PHYSICAL UTILITY FUNCTIONS		  SAVEPHFIG(3)

NAME
       savephfig - save	a physical figure on disk

SYNOPSIS
       #include	"mpu.h"
       void savephfig(ptfig)
       phfig_list *ptfig;

PARAMETER
       ptfig		   Pointer to the phfig	to write on disk

DESCRIPTION
       savephfig  writes  on disk the contents of the figure pointer to	by pt-
       fig. All	the figure lists are ran through, and the appropriate  objects
       written,	independently of the figure mode.
       The  savephfig  function	in fact	performs a call	to a driver, chosen by
       the MBK_OUT_PH(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_PH(1),
       MBK_WORK_LIB(1) and mbkenv(3) for details.

ERRORS
       "*** mbk	error *** not supported	physical output	format 'xxx'"
	      The environment variable MBK_OUT_PH is not set to	a legal	physi-
	      cal format.
       "*** mbk	error *** savephfig : 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
	      extension, for writing.

EXAMPLE
       #include	"mpu.h"
       void save_na2_y()
       {
	  savephfig(getphfig("na2_y"));
       }

SEE ALSO
       mbk(1), mbkenv(3),  phfig(3),  addphfig(3),  getphfig(3),  delphfig(3),
       loadphfig(3),	flattenphfig(3),    rflattenphfig(3),	MBK_OUT_PH(1),
       MBK_WORK_LIB(1).

ASIM/LIP6			October	1, 1997			  SAVEPHFIG(3)

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

home | help