Home
last modified time | relevance | path

Searched refs:i_fd (Results 1 – 4 of 4) sorted by relevance

/PHP-5.3/ext/fileinfo/libmagic/
H A Dcdf.c308 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 Dcdf.h269 int i_fd; member
H A Dreadcdf.c238 info.i_fd = fd;
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch848 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