STPRINT(3X)STPRINT(3X)NAMEstprint - 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
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.
SEE ALSOstfe(3x), stcu(3x)BUGS
The interface will be added to incrementally as needed.
Page 1