summaryrefslogtreecommitdiffabout
path: root/runcap.h
authorSergey Poznyakoff <gray@gnu.org.ua>2017-07-19 12:23:20 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2017-07-19 14:07:26 (GMT)
commit99d911104d7c03608398d47c74f1ce3c39bff211 (patch) (side-by-side diff)
treefa0daaa47c29ea23d8e1cae8d32cd18085636cdf /runcap.h
parent651babfefa21536112cbcd799932b3595aeb2da4 (diff)
downloadruncap-99d911104d7c03608398d47c74f1ce3c39bff211.tar.gz
runcap-99d911104d7c03608398d47c74f1ce3c39bff211.tar.bz2
Include the manpage; improve make distcheck
Diffstat (limited to 'runcap.h') (more/less context) (ignore whitespace changes)
-rw-r--r--runcap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/runcap.h b/runcap.h
index 9537eee..3ed907d 100644
--- a/runcap.h
+++ b/runcap.h
@@ -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;

Return to:

Send suggestions and report system problems to the System administrator.