kinit

Langue: en

Version: 58958 (mandriva - 22/10/07)

Autres sections - même nom

Section: 2 (Appels système)

NAME

kinit - Initialize a LAM process.

SYNOPSIS

int kinit (int priority);

DESCRIPTION

kinit() initializes all internal runtime LAM data structures, most notably those necessary for interfacing with the LAM daemon. The priority argument sets the calling process's message synchronizing priority. Every LAM process must call kinit() prior to any other LAM function, 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 ALSO

kexit(2), kattach(2), kenter(2)