summaryrefslogtreecommitdiff
path: root/src/libunixonacid/skaclient_startf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunixonacid/skaclient_startf.c')
-rw-r--r--src/libunixonacid/skaclient_startf.c22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/libunixonacid/skaclient_startf.c b/src/libunixonacid/skaclient_startf.c
index 57d6f46..755bc78 100644
--- a/src/libunixonacid/skaclient_startf.c
+++ b/src/libunixonacid/skaclient_startf.c
@@ -1,5 +1,7 @@
/* ISC license. */
+#include <sys/types.h>
+#include <stdint.h>
#include <errno.h>
#include <skalibs/kolbak.h>
#include <skalibs/skaclient.h>
@@ -9,33 +11,33 @@
int skaclient_startf (
skaclient_t *a,
char *bufss,
- unsigned int bufsn,
+ size_t bufsn,
char *auxbufss,
- unsigned int auxbufsn,
+ size_t auxbufsn,
char *bufas,
- unsigned int bufan,
+ size_t bufan,
char *auxbufas,
- unsigned int auxbufan,
+ size_t auxbufan,
kolbak_closure_t *q,
- unsigned int qlen,
+ size_t qlen,
char const *prog,
char const *const *argv,
char const *const *envp,
- uint32 options,
+ uint32_t options,
char const *before,
- unsigned int beforelen,
+ size_t beforelen,
char const *after,
- unsigned int afterlen,
+ size_t afterlen,
tain_t const *deadline,
tain_t *stamp)
{
skaclient_cbdata_t blah ;
unixmessage_t m ;
- register int r ;
+ int r ;
if (!skaclient_startf_async(a, bufss, bufsn, auxbufss, auxbufsn, bufas, bufan, auxbufas, auxbufan, q, qlen, prog, argv, envp, options, before, beforelen, after, afterlen, &blah)) return 0 ;
if (!skaclient_timed_flush(a, deadline, stamp))
{
- register int e = errno ;
+ int e = errno ;
skaclient_end(a) ;
errno = e ;
return 0 ;