about summary refs log tree commit diff
path: root/support/xunistd.h
diff options
context:
space:
mode:
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 */