Creates a new kernel process.
#include <sys/types.h> #include <sys/errno.h>
The creatp kernel service creates a kernel process. It also allocates and initializes a process block for the new process. Initialization involves these three tasks:
"Using Kernel Processes" in AIX Kernel Extensions and Device Support Programming Concepts has a more detailed discussion of how the creatp kernel service creates and initializes kernel processes.
The process calling the creatp service must subsequently call the initp kernel service to complete the process initialization. The initp service also makes the newly created process runnable.
The creatp kernel service can be called from the process environment only.
|-1||Indicates an error.|
Upon successful completion, the creatp kernel service returns the process identifier for the new kernel process.
The creatp kernel service is part of the Base Operating System (BOS) Runtime.
The initp kernel service.
Process and Exception Management Kernel Services and Using Kernel Processes in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.