STPRINT(3X) STPRINT(3X)
NAME
stprint - routines to print the symbol table
SYNOPSIS
#include <syms.h>
#include <stdio.h>
char *stmlangascii [];
char *stmstascii [];
char *stmscascii [];
char *stmbtascii [];
char *stmtqascii [];
void stdump (fd, flags)
FILE *fd;
long flags;
void stprintfd (fd, ifd, flags)
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.
AUTHOR Mark I. Himelstein
SEE ALSO
stfe(3x), stcu(3x), sym.h(5), stsupport.h(5)
BUGS
The interface will be added to incrementally as needed.
ORIGIN
MIPS Computer Systems
Page 1 (last mod. 8/20/87)