summaryrefslogtreecommitdiff
path: root/process-posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'process-posix.c')
-rw-r--r--process-posix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/process-posix.c b/process-posix.c
index 81c3ff5..1463487 100644
--- a/process-posix.c
+++ b/process-posix.c
@@ -11,6 +11,10 @@ struct Process {
char error[64];
};
+int process_get_id(void) {
+ return getpid();
+}
+
bool process_run_ex(Process *proc, const char *command, const ProcessSettings *settings) {
memset(proc, 0, sizeof *proc);