Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mkpool(2) — Purdue Xinu

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getbuf(2)

freebuf(2)

poolinit(2)

MKPOOL(2)

NAME

mkpool − create a buffer pool

SYNOPSIS

int mkpool(bufsiz, numbufs)
int bufsiz;
int numbufs;

DESCRIPTION

Mkpool creates a pool of numbufs buffers, each of size bufsiz, and returns an integer identifying the pool.  If no more pools can be created, or if the arguments are incorrect, mkpool returns SYSERR. 

SEE ALSO

getbuf(2), freebuf(2), poolinit(2)

BUGS

At present there is no way to reclaim space from buffer pools once they are no longer needed. 

December 01, 1986  —  Xinu Programmer’s Manual

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