File:  [Research Unix] / researchv10dc / man / adm / man3 / poly.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.TH POLY 3
.CT 2 graphics math
.SH NAME
poly_lk, poly_read \(mi polyhedron database routines
.SH SYNOPSIS
.nf
.B #include <poly.h>
.PP
.B int poly_lk(name)
.B char *name;
.PP
.B int poly_read(p, dir, n)
.B Polyhedron *p;
.B char *dir;
.fi
.SH DESCRIPTION
These routines access the
.IR poly (7)
database of polyhedra.
.PP
.I Poly_lk
tries to interpret
.I name
as a polyhedron reference.
If it is a number, it returns that number.
Otherwise, it returns the number of the first polyhedron
for which
.I name
is a prefix of the polyhedron's name.
.PP
.I Poly_read
forms an in-core description of the polyhedron number
.I n
in the directory
.IR dir .
If
.I dir
is 0, the normal directory
.RB ( /usr/lib/polyhedra )
is used.
.SH "SEE ALSO"
.IR poly (5),
.IR poly (7)
.SH DIAGNOSTICS
.I Poly
returns \-1 on unknown names.
.PP
.I Poly_read
returns zero on success,
nonzero on error.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.