*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> nlist (3)              
Title
Content
Arch
Section
 

NLIST(3)

Contents


NAME    [Toc]    [Back]

     nlist - retrieve symbol table name list from an executable file

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <nlist.h>

     int
     nlist(const char *filename, struct nlist *nl);

DESCRIPTION    [Toc]    [Back]

     The nlist() function retrieves name list entries from the symbol table of
     an executable file. (See a.out(5).)  The argument nl is set to reference
     the beginning of the list.  The list is preened of binary and invalid
     data; if an entry in the name list is valid, the n_type and n_value for
     the entry are copied into the list referenced by nl.  No other data is
     copied.  The last entry in the list is always NULL.

RETURN VALUES    [Toc]    [Back]

     The number of invalid entries is returned if successful; otherwise, if
     the file filename does not exist or is not executable, the returned value
     is -1.

SEE ALSO    [Toc]    [Back]

      
      
     a.out(5)

HISTORY    [Toc]    [Back]

     A nlist() function appeared in Version 6 AT&T UNIX.

BSD                             April 19, 1994                             BSD
[ Back ]
 Similar pages
Name OS Title
ldgetname Tru64 retrieve symbol name for object file symbol table entry
ldgetname IRIX retrieve symbol name for object file symbol table entry
elf_getarsym IRIX retrieve archive symbol table
kvm_nlist NetBSD retrieve symbol table names from a kernel image
kvm_nlist OpenBSD retrieve symbol table names from a kernel image
kvm_nlist FreeBSD retrieve symbol table names from a kernel image
nm OpenBSD display name list (symbol table)
ldtbseek IRIX seek to the symbol table of a common object file
ldtbseek Tru64 seek to the symbol table of a common object file
libst Tru64 symbol table and object file access library
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service