rlib
Convenience library for useful things
Loading...
Searching...
No Matches
Process introspection

Queries about the running process — whether a debugger is attached, the executable's path and name, and the process ID. More...

Functions

rboolean r_proc_is_debugger_attached (void)
 TRUE if a debugger is currently attached to this process.
 
rchar * r_proc_get_exe_path (void)
 Return the absolute path of the running executable (newly allocated).
 
rchar * r_proc_get_exe_name (void)
 Return the filename of the running executable (newly allocated).
 
int r_proc_get_id (void)
 Return the current process ID.
 

Detailed Description

Queries about the running process — whether a debugger is attached, the executable's path and name, and the process ID.