38 #if !defined (PLIBSYS_H_INSIDE) && !defined (PLIBSYS_COMPILATION) 39 # error "Header files shouldn't be included directly, consider using <plibsys.h> instead." 42 #ifndef PLIBSYS_HEADER_PPROCESS_H 43 #define PLIBSYS_HEADER_PPROCESS_H #define P_END_DECLS
Closes .h file declarations to be exported as C functions, should be always used after P_BEGIN_DECLS...
P_LIB_API puint32 p_process_get_current_pid(void)
Gets a PID of the calling process.
P_LIB_API pboolean p_process_is_running(puint32 pid)
Checks whether a process with a given PID is running or not.
unsigned int puint32
Type for unsigned 32 bit.
signed int pboolean
Type for a bool.
#define P_LIB_API
Exports a symbol from a shared library.
#define P_BEGIN_DECLS
Starts .h file declarations to be exported as C functions.