|
theKernel 10.0
|
Interface between ccmkkernel and the Operating-System … More...
#include <LibMkKernel_mk.h>
Collaboration diagram for libmkkernel::MkLalS:Public Attributes | |
| MkSysCallocF | SysCalloc |
| calloc syscall … | |
| MkSysMallocF | SysMalloc |
| malloc syscall … | |
| MkSysReallocF | SysRealloc |
| realloc syscall … | |
| MkSysStrNDupF | SysStrNDup |
| strndup syscall … | |
| MkSysStrDupF | SysStrDup |
| strdup syscall … | |
| MkSysStrNCpyF | SysStrNCpy |
| strdup strncpy … | |
| MkSysFreeF | SysFree |
| free syscall … | |
| MkSysForkF | SysFork |
| fork syscall … | |
| MK_PTR | SysForkData |
| MkSysWaitF | MkSysWaitForProcessCB |
| wait for process to finish syscall with ccmkkernel error plugin | |
| MkSysWaitF | MkSysWaitForThreadCB |
| wait for process to finish syscall with ccmkkernel error plugin | |
| enum MkErrorE(* | SysUSleep )(MK_OBJN const obj, unsigned int const usec) |
| usleep syscall with ccmkkernel error plugin | |
| enum MkErrorE(* | SysSleep )(MK_OBJN const obj, unsigned int const sec) |
| sleep syscall with ccmkkernel error plugin | |
| enum MkErrorE(* | SysDaemonize )(MK_RT mkrt, MK_OBJN const obj, MK_STRN pidfile) |
| demonize the current process and save the resulting PID into the pidfile … | |
| MkSysExitF | MkSysExitCB |
| void(* | SysAbort )(void) MK_NO_RETURN |
| abort syscall … | |
| enum MkErrorE(* | SysIgnorSIGCHLD )(MK_RT mkrt, MK_OBJ const obj) |
| enum MkErrorE(* | SysAllowSIGCHLD )(MK_RT mkrt, MK_OBJ const obj) |
Interface between ccmkkernel and the Operating-System …
Definition at line 2583 of file LibMkKernel_mk.h.
| MkSysExitF libmkkernel::MkLalS::MkSysExitCB |
Example:
MK_NO_RETURN besause the MkSysExitF can be an overload with MkLalS::MkSysExitCB Definition at line 2648 of file LibMkKernel_mk.h.
| MkSysWaitF libmkkernel::MkLalS::MkSysWaitForProcessCB |
wait for process to finish syscall with ccmkkernel error plugin
| [in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
| [in] | id | process handle |
| MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
Definition at line 2602 of file LibMkKernel_mk.h.
| MkSysWaitF libmkkernel::MkLalS::MkSysWaitForThreadCB |
wait for process to finish syscall with ccmkkernel error plugin
| [in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
| [in] | id | process handle |
| MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
Definition at line 2604 of file LibMkKernel_mk.h.
| void(* libmkkernel::MkLalS::SysAbort) (void) MK_NO_RETURN |
abort syscall …
additional info: man abort
| MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
Example:
Definition at line 2659 of file LibMkKernel_mk.h.
Definition at line 2659 of file LibMkKernel_mk.h.
| MkSysCallocF libmkkernel::MkLalS::SysCalloc |
demonize the current process and save the resulting PID into the pidfile …
| [in] | obj | ... |
| [in] | pidfile | file to save the process identifier, can be used to kill the process later |
| MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
Example:
Definition at line 2604 of file LibMkKernel_mk.h.
| MkSysForkF libmkkernel::MkLalS::SysFork |
fork syscall …
additional info: man fork
Definition at line 2599 of file LibMkKernel_mk.h.
| MK_PTR libmkkernel::MkLalS::SysForkData |
Definition at line 2600 of file LibMkKernel_mk.h.
| MkSysFreeF libmkkernel::MkLalS::SysFree |
Definition at line 2659 of file LibMkKernel_mk.h.
| MkSysMallocF libmkkernel::MkLalS::SysMalloc |
| MkSysReallocF libmkkernel::MkLalS::SysRealloc |
sleep syscall with ccmkkernel error plugin
| [in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
| [in] | sec | the seconds to sleep |
| MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
Example:
Definition at line 2604 of file LibMkKernel_mk.h.
| MkSysStrDupF libmkkernel::MkLalS::SysStrDup |
| MkSysStrNCpyF libmkkernel::MkLalS::SysStrNCpy |
| MkSysStrNDupF libmkkernel::MkLalS::SysStrNDup |
usleep syscall with ccmkkernel error plugin
| [in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
| [in] | usec | the micro (10^-6) seconds to sleep |
| MkExceptionC | → The default-exception from the Programming-Language-Micro-Kernel (PLMK) |
Example:
Definition at line 2604 of file LibMkKernel_mk.h.