rlib
Convenience library for useful things
Loading...
Searching...
No Matches
rproc.h File Reference

Current-process introspection: debugger detection, executable path / name, and process ID. More...

#include <rlib/rtypes.h>

Go to the source code of this file.

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

Current-process introspection: debugger detection, executable path / name, and process ID.