diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-01-27 06:53:19 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-01-27 06:53:20 +0100 |
commit | faf0e9c84119742dd9ebb79060faa22c52ae80a1 (patch) | |
tree | aaf2df0e207bde2a4dfe6c9623e013364642a076 /support/xunistd.h | |
parent | 5653ab12b4ae15b32d41de7c56b2a4626cd0437a (diff) | |
download | glibc-faf0e9c84119742dd9ebb79060faa22c52ae80a1.tar.gz glibc-faf0e9c84119742dd9ebb79060faa22c52ae80a1.tar.xz glibc-faf0e9c84119742dd9ebb79060faa22c52ae80a1.zip |
nptl: Add tst-robust-fork
Diffstat (limited to 'support/xunistd.h')
-rw-r--r-- | support/xunistd.h | 5 |
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 */ |