diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-02-01 23:23:10 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-05-23 09:22:21 +0200 |
commit | a685661866bf5a082571c12d0a47286d4c1547c6 (patch) | |
tree | 64c5efa21bbc1e1e5316d78bbe0dd5182c6ac823 /Process.h | |
parent | 93a44acf7e4b0a909fbd717da8a3999c46924c3d (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |