KINIT(2) LAM LOCAL LIBRARY KINIT(2)NAMEkinit - Initialize a LAM process.
SYNOPSIS
int kinit (int priority);
DESCRIPTIONkinit() initializes all internal runtime LAM data structures, most
notably those necessary for interfacing with the LAM daemon. The pri‐
ority argument sets the calling process's message synchronizing prior‐
ity. Every LAM process must call kinit() prior to any other LAM func‐
tion, however this is usually done as part of a call to kenter(2).
kinit() calls kattach(2) after initialization to register the process
with the local LAM daemon.
ERRORS
ENOKDESCRIPTORS The LAM daemon is out of process descriptors and is
unable to attach additional processes.
ENOKERNEL The LAM daemon is not running.
SEE ALSOkexit(2), kattach(2), kenter(2)LAM 7.1.2 March, 2006 KINIT(2)