DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦100a5dcf1⟧ TextFile

    Length: 1269 (0x4f5)
    Types: TextFile
    Notes: UNIX file
    Names: »nlist.3«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »usr/man/man3/nlist.3« 

TextFile

.ig
	@(#)nlist.3	2.1	7/1/84
	@(#)Copyright (C) 1983 by National Semiconductor Corp.
..
.TH NLIST 3 
.UC 4
.SH NAME
nlist \- get entries from name list
.SH SYNOPSIS
.nf
.B #include <nlist.h>
.B nlist(filename, nl)
.B char *filename;
.B struct nlist nl[];
.fi
.SH DESCRIPTION
.I Nlist
examines the name list in
the given executable output file
and selectively extracts a
list of values.
The name list consists of
an array of structures containing names,
types and values.
The list is terminated with a null name.
Each name is looked up in the name list of
the file.
If the name is found, the type and value of the
name are inserted in the next two fields.
If the name is not found, both entries are set to 0.
See
.IR a.out (5)
for the structure declaration.
.PP
This subroutine is useful for
examining the system name list kept in
the file
.BR /vmunix .
In this way programs can obtain system addresses
that are up to date.
.SH "SEE ALSO"
a.out(5)
.SH DIAGNOSTICS
All
type entries are set to 0 if the file cannot be found
or if it is not a valid namelist.
.SH BUGS
On other versions of UNIX you must include <a.out.h> rather than <nlist.h>;
this is unfortunate, but
.I <a.out.h>
cannot be used 
in G\s-2ENIX\s0
because it contains a
.B union
which cannot be initialized.