searchrdsfig(3) - Linux man page

Name

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

Description

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

Example

        #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 );
         }

See Also

librtl, librds