summaryrefslogtreecommitdiff
path: root/support/xunistd.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-12-31 14:06:16 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-12-31 18:52:32 +0100
commit5840c75c2d6a9b980d6789f2ca7d47a9fa067263 (patch)
tree3eb4c28827ba0901f9ae7396d841c396c393805e /support/xunistd.h
parentf47ae5186624e5bb3a2d2b25be742b90a1eee3cd (diff)
resolv: Add beginnings of a libresolv test suite
Diffstat (limited to 'support/xunistd.h')
-rw-r--r--support/xunistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/support/xunistd.h b/support/xunistd.h
index f0c741952f..0fe532a822 100644
--- a/support/xunistd.h
+++ b/support/xunistd.h
@@ -30,6 +30,9 @@ __BEGIN_DECLS
pid_t xfork (void);
pid_t xwaitpid (pid_t, int *status, int flags);
+/* Write the buffer. Retry on short writes. */
+void xwrite (int, const void *, size_t);
+
__END_DECLS
#endif /* SUPPORT_XUNISTD_H */