4.4BSD/usr/share/man/cat3/nlist.0

Compare this file to the similar file:
Show the results in this format:

NLIST(3)                    BSD Programmer's Manual                   NLIST(3)

NNAAMMEE
     nnlliisstt - retrieve symbol table name list from an executable file

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<nnlliisstt..hh>>

     _i_n_t
     nnlliisstt(_c_o_n_s_t _c_h_a_r _*_f_i_l_e_n_a_m_e, _s_t_r_u_c_t _n_l_i_s_t _*_n_l);

DDEESSCCRRIIPPTTIIOONN
     The nnlliisstt() function retrieves name list entries from the symbol table of
     an exectutable file. (See a.out(5).)  The argument _n_l is set to reference
     the beginning of the list.  The list is preened of binary and invalid da-
     ta; if an entry in the name list is valid, the _n___t_y_p_e and _n___v_a_l_u_e for the
     entry are copied into the list referenced by _n_l. No other data is copied.
     The last entry in the list is always NULL.

RREETTUURRNN VVAALLUUEESS
     The number of invalid entries is returned if successful; otherwise, if
     the file _f_i_l_e_n_a_m_e does not exist or is not exectuable, the returned value
     is -1.

SSEEEE AALLSSOO
     a.out(5)

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

4th Berkeley Distribution        June 4, 1993                                1