summaryrefslogtreecommitdiff
path: root/support/xunistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/xunistd.h')
-rw-r--r--support/xunistd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/support/xunistd.h b/support/xunistd.h
index 11fbc9fbd2..a83b1f4541 100644
--- a/support/xunistd.h
+++ b/support/xunistd.h
@@ -33,6 +33,11 @@ pid_t xwaitpid (pid_t, int *status, int flags);
/* Write the buffer. Retry on short writes. */
void xwrite (int, const void *, size_t);
+/* Invoke mmap with a zero file offset. */
+void *xmmap (void *addr, size_t length, int prot, int flags, int fd);
+
+void xmunmap (void *addr, size_t length);
+
__END_DECLS
#endif /* SUPPORT_XUNISTD_H */