aboutsummaryrefslogtreecommitdiff
path: root/support/xunistd.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-01-27 06:53:19 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-01-27 06:53:20 +0100
commitfaf0e9c84119742dd9ebb79060faa22c52ae80a1 (patch)
treeaaf2df0e207bde2a4dfe6c9623e013364642a076 /support/xunistd.h
parent5653ab12b4ae15b32d41de7c56b2a4626cd0437a (diff)
downloadglibc-faf0e9c84119742dd9ebb79060faa22c52ae80a1.tar
glibc-faf0e9c84119742dd9ebb79060faa22c52ae80a1.tar.gz
glibc-faf0e9c84119742dd9ebb79060faa22c52ae80a1.tar.bz2
glibc-faf0e9c84119742dd9ebb79060faa22c52ae80a1.zip
nptl: Add tst-robust-fork
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 */