Searched refs:i_fd (Results 1 – 4 of 4) sorted by relevance
/PHP-5.3/ext/fileinfo/libmagic/ |
H A D | cdf.c | 308 if (info->i_fd == -1) in cdf_read() 311 if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (off_t)-1) in cdf_read() 314 if (FINFO_READ_FUNC(info->i_fd, buf, len) != (ssize_t)len) in cdf_read() 1318 if ((info.i_fd = open(argv[1], O_RDONLY)) == -1) 1360 (void)close(info.i_fd);
|
H A D | cdf.h | 269 int i_fd; member
|
H A D | readcdf.c | 238 info.i_fd = fd;
|
/PHP-5.3/ext/fileinfo/ |
H A D | libmagic.patch | 848 if (info->i_fd == -1) 851 - if (lseek(info->i_fd, off, SEEK_SET) == (off_t)-1) 852 + if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (off_t)-1) 855 - if (read(info->i_fd, buf, len) != (ssize_t)len) 856 + if (FINFO_READ_FUNC(info->i_fd, buf, len) != (ssize_t)len)
|
Completed in 19 milliseconds