xref: /386bsd/usr/share/man/cat3/nlist.0 (revision a2142627)
1NLIST(3)                  386BSD Programmer's Manual                  NLIST(3)
2
3NNAAMMEE
4     nnlliisstt - retrieve symbol table name list from an executable file
5
6SSYYNNOOPPSSIISS
7     ##iinncclluuddee <<nnlliisstt..hh>>
8
9     _i_n_t
10     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)
11
12DDEESSCCRRIIPPTTIIOONN
13     The nnlliisstt() function retrieves name list entries from the symbol table of
14     an exectutable file. (See a.out(5).)  The argument _n_l is set to reference
15     the beginning of the list.  The list is preened of binary and invalid
16     data; if an entry in the name list is valid, the _n__t_y_p_e and _n__v_a_l_u_e for
17     the entry are copied into the list referenced by _n_l. No other data is
18     copied.  The last entry in the list is always NULL.
19
20RREETTUURRNN VVAALLUUEESS
21     The number of invalid entries is returned if successful; otherwise, if
22     the file _f_i_l_e_n_a_m_e does not exist or is not exectuable, the returned value
23     is -1.
24
25SSEEEE AALLSSOO
26     a.out(5)
27
28HHIISSTTOORRYY
29     A nnlliisstt() function appeared in Version 6 AT&T UNIX.
30
314th Berkeley Distribution       April 19, 1991                               1
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67