Go up to Messages and Mail Boxes
Go forward to Send and Receive

initmbox

The initmbox call is used to tell the system that you wish to begin communication through a particular mail box. In general, its purpose is to allow the system to do any necessary initialization of the data structures used to represent mail boxes. In the particular implementation I have suggested, this will consist of making sure that all the list pointers in the "mbox" structure are initialized to NULL. The header for the procedure is shown below:
/* initmbox - Initialize a mailbox descriptor   */
initmbox(mailbox)
struct mbox *mailbox;


Up Next