diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-06-02 15:50:36 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-06-02 15:50:36 +0200 |
commit | 2714c5f3c95f90977167c1d21326d907fb76b419 (patch) | |
tree | 5c3fc58f8177144973b0714aed382f8b32dadd84 /support/xunistd.h | |
parent | 673cb072a4710bd4bf6029a062d2867cca929c43 (diff) | |
download | glibc-2714c5f3c95f90977167c1d21326d907fb76b419.tar glibc-2714c5f3c95f90977167c1d21326d907fb76b419.tar.gz glibc-2714c5f3c95f90977167c1d21326d907fb76b419.tar.bz2 glibc-2714c5f3c95f90977167c1d21326d907fb76b419.zip |
resolv: Tests for various versions of res_init
Diffstat (limited to 'support/xunistd.h')
-rw-r--r-- | support/xunistd.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/support/xunistd.h b/support/xunistd.h index 7c14bda7be..151d743e1f 100644 --- a/support/xunistd.h +++ b/support/xunistd.h @@ -22,15 +22,22 @@ #ifndef SUPPORT_XUNISTD_H #define SUPPORT_XUNISTD_H -#include <unistd.h> #include <sys/cdefs.h> +#include <sys/types.h> +#include <unistd.h> __BEGIN_DECLS +struct stat64; + pid_t xfork (void); pid_t xwaitpid (pid_t, int *status, int flags); void xpipe (int[2]); void xdup2 (int, int); +int xopen (const char *path, int flags, mode_t); +void xstat (const char *path, struct stat64 *); +void xmkdir (const char *path, mode_t); +void xchroot (const char *path); /* Close the file descriptor. Ignore EINTR errors, but terminate the process on other errors. */ |