diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-07-19 15:23:20 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-07-19 17:07:26 +0300 |
commit | 99d911104d7c03608398d47c74f1ce3c39bff211 (patch) | |
tree | fa0daaa47c29ea23d8e1cae8d32cd18085636cdf /runcap.h | |
parent | 651babfefa21536112cbcd799932b3595aeb2da4 (diff) | |
download | runcap-99d911104d7c03608398d47c74f1ce3c39bff211.tar.gz runcap-99d911104d7c03608398d47c74f1ce3c39bff211.tar.bz2 |
Include the manpage; improve make distcheck
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 | |||
28 | size_t sc_nlines; /* number of captured lines */ | 28 | size_t sc_nlines; /* number of captured lines */ |
29 | int sc_storfd; /* Storage file descriptor */ | 29 | int sc_storfd; /* Storage file descriptor */ |
30 | 30 | ||
31 | void (*sc_linemon) (const char *, size_t, void *); | 31 | void (*sc_linemon)(const char *, size_t, void *); |
32 | /* Line monitor function */ | 32 | /* Line monitor function */ |
33 | void *sc_monarg; /* Line monitor argument */ | 33 | void *sc_monarg; /* Line monitor argument */ |
34 | }; | 34 | }; |
@@ -49,7 +49,7 @@ struct runcap | |||
49 | unsigned rc_timeout; /* [IN] Execution timeout */ | 49 | unsigned rc_timeout; /* [IN] Execution timeout */ |
50 | struct stream_capture rc_cap[RUNCAP_NBUF]; | 50 | struct stream_capture rc_cap[RUNCAP_NBUF]; |
51 | /* rc_cap[RUNCAP_STDIN] - [IN], rest - [OUT] */ | 51 | /* rc_cap[RUNCAP_STDIN] - [IN], rest - [OUT] */ |
52 | pid_t rc_pid; /* [OUT] - PID of the process */ | 52 | pid_t rc_pid; /* PID of the process */ |
53 | int rc_status; /* [OUT] - Termination status */ | 53 | int rc_status; /* [OUT] - Termination status */ |
54 | int rc_errno; /* [OUT] - Value of errno, if terminated on error */ | 54 | int rc_errno; /* [OUT] - Value of errno, if terminated on error */ |
55 | }; | 55 | }; |
@@ -69,7 +69,7 @@ int runcap(struct runcap *rc, int flags); | |||
69 | void runcap_free(struct runcap *rc); | 69 | void runcap_free(struct runcap *rc); |
70 | 70 | ||
71 | static inline struct stream_capture * | 71 | static inline struct stream_capture * |
72 | runcap_stream_capture(struct runcap *rc, int stream) | 72 | runcap_get_capture(struct runcap *rc, int stream) |
73 | { | 73 | { |
74 | struct stream_capture *fp; | 74 | struct stream_capture *fp; |
75 | 75 | ||