From a685661866bf5a082571c12d0a47286d4c1547c6 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Mon, 1 Feb 2021 23:23:10 +0100 Subject: Move procExeBasenameOffset to main Process structure This drops procExeLen, as that field is implicit by strlen(Process->procExe) --- Process.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Process.h') diff --git a/Process.h b/Process.h index 04a118e5..6c723178 100644 --- a/Process.h +++ b/Process.h @@ -111,6 +111,9 @@ typedef struct Process_ { /* The main process executable */ char *procExe; + /* Offset in procExe of the process basename */ + int procExeBasenameOffset; + /* Tells if the executable has been replaced in the filesystem since start */ bool procExeDeleted; -- cgit v1.2.3