summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-02-01 23:23:10 +0100
committerBenBE <BenBE@geshi.org>2021-05-23 09:22:21 +0200
commita685661866bf5a082571c12d0a47286d4c1547c6 (patch)
tree64c5efa21bbc1e1e5316d78bbe0dd5182c6ac823 /Process.h
parent93a44acf7e4b0a909fbd717da8a3999c46924c3d (diff)
Move procExeBasenameOffset to main Process structure
This drops procExeLen, as that field is implicit by strlen(Process->procExe)
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h3
1 files changed, 3 insertions, 0 deletions
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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy