Forum > Unix

How to obtain a process handle by PID

(1/1)

TheK0tYaRa:
I've seen OpenProcess be used everywhere but it's obliviously a winapi thing, so i have no idea what to use instead of it. The use case is process memory manipulation and general debugging. Using Lazarus' debugger or gdb is not an option because the application i am porting to unix is their universal alternative.
I suppose that if there is such, an universal FPC function will match the need as good as an Unix-only one.

Navigation

[0] Message Index

Go to full version