Xinu7/man/man2/pinit.doc




PINIT(2)            Xinu Programmer's Manual             PINIT(2)



NAME
     pinit - initialize the ports table at system startup

SYNOPSIS
     int pinit(maxmsgs)
     int maxmsgs;

DESCRIPTION
     _P_i_n_i_t initializes the ports mechanism by clearing the ports
     table and allocating memory for messages.  It should be
     called only once (usually at system startup).  Argument
     _m_a_x_m_s_g_s specifies an upper bound on the number of simultane-
     ously outstanding messages at all ports.

SEE ALSO
     pcreate(2), pdelete(2), psend(2), preceive(2)







































Version 6b               Printed 1/12/87                        1