12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- #ifndef _GL_CAREADLINKAT_H
- #define _GL_CAREADLINKAT_H
- #include <fcntl.h>
- #include <unistd.h>
- struct allocator;
- char *careadlinkat (int fd, char const *filename,
- char *buffer, size_t buffer_size,
- struct allocator const *alloc,
- ssize_t (*preadlinkat) (int, char const *,
- char *, size_t));
- #if HAVE_READLINKAT
- #else
- # ifndef AT_FDCWD
- # define AT_FDCWD (-3041965)
- # endif
- #endif
- ssize_t careadlinkatcwd (int fd, char const *filename,
- char *buffer, size_t buffer_size);
- #endif
|