diff options
author | pommicket <pommicket@gmail.com> | 2022-12-05 12:40:13 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-05 12:40:13 -0500 |
commit | 074df673a792ce92a972095803f18749b8d92ea3 (patch) | |
tree | 2ba7feaa377f5aca57b576e91222435a067829cc /process-posix.c | |
parent | 4dc976bc793af39ebad715ef669b335657926f65 (diff) |
more lsp, start json parser
Diffstat (limited to 'process-posix.c')
-rw-r--r-- | process-posix.c | 4 |
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); |