searchrdsfig3
Searchs by name a figure in the list of figures
Synopsys
#include "rutnnn.h" rdsfig_list ∗searchrdsfig( Name ) char ∗Name;
Parameter
- Name
-
Name of the figure to search.
Overview
The searchrdsfig function searchs a figure by its name in the list of figures in memory.
Return value
Pointer to the figure searched. If the figure is not found then pointer NULL is returned.
Errors
none
Examples
#include "mutnnn.h"
#include "rdsnnn.h"
#include "rutnnn.h"
#include "rtlnnn.h"
main()
{
rdsfig_list ∗Figure;
rdsfig_list ∗ScanFigure;
mbkenv();
rdsenv();
loadrdsparam();
Figure = addrdsfig("na2",0);
Figure = addrdsfig("no2",0);
Figure = addrdsfig("xr2",0);
Figure = addrdsfig("n03",0);
ScanFigure = searchrdsfig("xr2");
viewrdsfig ( ScanFigure );
}
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.