delorie.com/djgpp/doc/libc/libc_794.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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

ANSI/ISO C No
POSIX No


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004