diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-16 11:07:46 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-16 11:07:46 -0500 |
commit | fcb74112105e45ffc0a26aca7d952e84b05c782c (patch) | |
tree | 2696401189b65229c4a5f64f9b98d0e276cb277e /process.h | |
parent | acfbdf2359f533f88e284b5f5219b5c671992fc7 (diff) |
got WNOHANG to work
Diffstat (limited to 'process.h')
-rw-r--r-- | process.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,9 +5,9 @@ typedef struct Process Process; // returns NULL on failure -Process *process_exec(char const *program, char **argv); +bool process_exec(Process *process, char const *program, char **argv); // returns the error last error produced, or NULL if there was no error. -char const *process_geterr(void); +char const *process_geterr(Process *process); // returns: // -2 on error // -1 if no data is available right now |