BUFFER(3) Xinu Programmer's Manual BUFFER(3) NAME getbuf - obtain a buffer from a buffer pool SYNOPSIS char *getbuf(poolid) int poolid; DESCRIPTION _G_e_t_b_u_f obtains a free buffer from the pool given by argument _p_o_o_l_i_d, and returns a pointer to the first word of the buffer. If all buffers in the specified pool are in use, the calling process will be blocked until a buffer becomes available. If the argument _p_o_o_l_i_d does not specify a valid pool, getbuf returns SYSERR. SEE ALSO freebuf(2), getmem(2), getstk(2), freemem(2), freestk(2) Version 6b Printed 1/12/87 1