sanitizer_libc.h | 55 typedef int fd_t; typedef in namespace:__sanitizer 56 const fd_t kInvalidFd = -1; 57 int internal_close(fd_t fd); 58 fd_t internal_open(const char *filename, bool write); 59 uptr internal_read(fd_t fd, void *buf, uptr count); 60 uptr internal_write(fd_t fd, const void *buf, uptr count); 61 uptr internal_filesize(fd_t fd); // -1 on error.
|