Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ knlist(3C) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nlist(3c)

cvt(4)



KNLIST(3C)              COMMAND REFERENCE              KNLIST(3C)



NAME
     knlist - get entries from kernel CVT table

SYNOPSIS
     #include <nlist.h>

     knlist(filename, nl)
     char *filename;
     struct nlist nl[];

DESCRIPTION
     Knlist examines a table of kernel symbols in kernel memory
     (the CVT table) and selectively extracts a list of values.
     See cvt(4) for a description of the CVT table.  Knlist
     performs the same function as nlist(3c), but runs faster and
     returns values that are guaranteed to correspond with the
     currently running kernel.

     The list of names to be looked up is passed in nl.  Nl
     should be terminated with a null name.  Filename is the name
     of the special file containing the CVT table (usually
     /dev/cvt).

     If the name of an entry in nl is found in the CVT table, the
     value from the table is copied into that entry's value field
     in nl. If the name is not found, the value is set to 0.  See
     <nlist.h> for the nlist structure declaration.

     If filename names an a.out file rather than the CVT table,
     knlist will call nlist, passing its arguments.

FILES
     /dev/cvt     Standard name for CVT table.

RETURN VALUE
     Knlist returns 0 if everything worked as expected,

     Knlist returns -1 upon error.

SEE ALSO
     nlist(3c) and cvt(4).














Printed 5/12/88                                                 1





































































%%index%%
na:312,94;
sy:406,846;
de:1252,1423;
fi:2675,116;
rv:2791,336;
se:3127,139;
%%index%%000000000109

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026