saverdsfig(3)

saverdsfig3

Save a physical figure on disk.

Synopsys

#include "rtlnnn.h"
 void saverdsfig( Figure )
    rdsfig_list ∗Figure;

Parameter

Figure

Pointer to the RDS Figure to save.

Overview

The saverdsfig function writes on disk the contents of the figure pointer to by rdsfig_list. The savephfig function in fact performs a call to a driver, choosen by the RDS_OUT environment variable.

Return value

none

Errors

"Rtl103.h: Unknown rds output format"

The output format defined by the unix environment variable RDS_OUT is not supported by the driver (supported formats are "cif" and "gds").

Other errors can appear because the saverdsfig function calls cif and gds drivers.

Examples

#include "mutnnn.h"
#include "rdsnnn.h"
#include "rtlnnn.h"
main()
{
rdsfig_list ∗RdsFigure;
mbkenv();
rdsenv();
loadrdsparam();
loadrdsfig( RdsFigure, "core", 'A');
RdsFigure->NAME = namealloc ( "core_2" );
/∗ ∗/ saverdsfig ( RdsFigure );
}

Releases

4 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–8
  2. 9–10

From alliance 5.1.1-3 in Debian 10 (Buster). Parsed by carta from the page's man source.