11 _dl_exit(int status) { exit(status); }
14 _dl_mprotect(void *addr, size_t len, int prot)
15 { (void)addr; (void)len; (void)prot; return -1; } //mprotect(addr, len, prot); }
18 _dl_stat(const char *path, struct stat * buf)
19 { return stat(path, buf); }
22 _dl_fstat(int fd, struct stat *buf)
23 { return fstat(fd, buf); }
44 _dl_munmap(void *start, size_t len)
45 { return munmap(start, len); }
48 _dl_mmap_check_error(void *x)
49 { return x == MAP_FAILED; }
51 extern int open (const char *__file, int __oflag, ...) __nonnull ((1));
54 _dl_open(char const *path, int flags, int mode)
55 { return open(path, flags, mode); }
62 _dl_read(int fd, void *buf, size_t len)
63 { return read(fd, buf, len); }
66 _dl_write(int fd, char const *str, size_t len)
67 { (void)fd; (void)str; (void)len; return -1; }
74 _dl_cap_equal(unsigned long a, unsigned long b)
83 _dl_mmap(void *start, size_t len, int prot, int flags, int fd, off_t offset)
84 { return mmap(start, len, prot, flags, fd, offset); }
86 #define _dl_errno errno