searchrdsfig.3alc - Man Page

searches by name a figure in the list of figures

Synopsis

#include "rutnnn.h"
 rdsfig_list ∗searchrdsfig( Name )
   char ∗Name;

Parameter

Name

Name of the figure to search.

Description

The searchrdsfig function searches 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

Info

October 1, 1997 ASIM/LIP6 RDS PHYSICAL FUNCTIONS