diff options
Diffstat (limited to 'runcap.h')
-rw-r--r-- | runcap.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -28,7 +28,7 @@ struct stream_capture size_t sc_nlines; /* number of captured lines */ int sc_storfd; /* Storage file descriptor */ - void (*sc_linemon) (const char *, size_t, void *); + void (*sc_linemon)(const char *, size_t, void *); /* Line monitor function */ void *sc_monarg; /* Line monitor argument */ }; @@ -49,7 +49,7 @@ struct runcap unsigned rc_timeout; /* [IN] Execution timeout */ struct stream_capture rc_cap[RUNCAP_NBUF]; /* rc_cap[RUNCAP_STDIN] - [IN], rest - [OUT] */ - pid_t rc_pid; /* [OUT] - PID of the process */ + pid_t rc_pid; /* PID of the process */ int rc_status; /* [OUT] - Termination status */ int rc_errno; /* [OUT] - Value of errno, if terminated on error */ }; @@ -69,7 +69,7 @@ int runcap(struct runcap *rc, int flags); void runcap_free(struct runcap *rc); static inline struct stream_capture * -runcap_stream_capture(struct runcap *rc, int stream) +runcap_get_capture(struct runcap *rc, int stream) { struct stream_capture *fp; |