Initializes a mutex.
#include <synch.h>
int mutex_init (
mutex_t *mp,
int type,
void *arg );
(IN) Points to the mutex to be initialized.
(IN) Specifies the type of mutex with one of the following flags:
(IN) Reserved for future use. Set to NULL
If successful, returns zero; otherwise, returns a nonzero error code:
UI mutexes cannot be recursive.