summaryrefslogtreecommitdiffstats
path: root/freebsd/FreeBSDProcess.h
diff options
context:
space:
mode:
authorChristian Goettsche <cgzones@googlemail.com>2020-10-21 13:56:26 +0200
committercgzones <cgzones@googlemail.com>2020-10-29 22:21:42 +0100
commit88eec2dc00f951913a1992a064ccefc7cff95e96 (patch)
tree652e9f785d657234fa659b0700695889b11aaa76 /freebsd/FreeBSDProcess.h
parentddbb0c2c35ca1070387b975e85f4fd12f4aaf93a (diff)
FreeBSD: rework tty process column
Diffstat (limited to 'freebsd/FreeBSDProcess.h')
-rw-r--r--freebsd/FreeBSDProcess.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/freebsd/FreeBSDProcess.h b/freebsd/FreeBSDProcess.h
index aa769d65..d6873d09 100644
--- a/freebsd/FreeBSDProcess.h
+++ b/freebsd/FreeBSDProcess.h
@@ -15,6 +15,10 @@ in the source distribution for its full text.
#include "Settings.h"
+#define PROCESS_FLAG_FREEBSD_TTY 0x0100
+
+extern const char* const nodevStr;
+
typedef enum FreeBSDProcessFields_ {
// Add platform-specific fields here, with ids >= 100
JID = 100,
@@ -27,6 +31,7 @@ typedef struct FreeBSDProcess_ {
int kernel;
int jid;
char* jname;
+ const char* ttyPath;
} FreeBSDProcess;
#define Process_isKernelThread(_process) (_process->kernel == 1)

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