Go to the first, previous, next, last section, table of contents.


syms_module

Syntax

#include <debug/syms.h>

char *syms_module (int nfile);

Description

This function returns the name of the source file (a.k.a. module) whose ordinal number in the symbol table is nfile.

You must call syms_init (see section syms_init) before calling any of the other syms_* functions for the first time.

Return Value

The name of the source file, or a NULL pointer if nfile is negative or larger than the total number of modules linked into the program whose symbols were read by syms_init.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.