stprint(3X)

stprint - Routines to print the symbol table

As shipped in IRIX 6.5.19. Last changed in IRIX 6.5.19.

NAME
     stprint - Routines to print the symbol table

SYNOPSIS
     #include <syms.h>

     #include <stdio.h>

     char *st_mlang_ascii [];
     char *st_mst_ascii [];
     char *st_msc_ascii [];
     char *st_mbt_ascii [];
     char *st_mtq_ascii [];

     "void st_dump(FILE *fd, long flags);

     "void st_printfd(FILE *fd, long ifd, long flags);

DESCRIPTION
     This routine is valid for o32 ABI only.

     The stprint routines and arrays provide an easy way to print the MIPS
     symbol table (using st_current pchdr()).

     The arrays map constants to their ASCII equivalents.  The constants
     can be found in symconst.h and represent languages (lang), symbol
     types (st), storage classes (sc), basic types (bt), and type
     qualifiers (tq).

     The st_dump routine prints an ASCII version of the symbol.  If fd is
     NULL, the routine prints file fd and stdout.  The flags can be a mask
     of a section of symbol table specified by ORing ST_P* constants
     together from cmplrs/stsupport.h.  This routine modifies the current
     file.

     st_printfd prints the sections associated with the file specified by
     the ifd argument.  The other arguments are the same as in st_dump.
     These arguments modify the current file, as well.

BUGS
     The interface will be added to incrementally as needed.

SEE ALSO
     stfe(3x), stcu(3x)