Searched refs:fops_fd (Results 1 – 1 of 1) sorted by relevance
67 _lws_plat_file_close(lws_fop_fd_t *fops_fd) in _lws_plat_file_close() argument69 int fd = (*fops_fd)->fd; in _lws_plat_file_close()71 lws_free(*fops_fd); in _lws_plat_file_close()72 *fops_fd = NULL; in _lws_plat_file_close()78 _lws_plat_file_seek_cur(lws_fop_fd_t fops_fd, lws_fileofs_t offset) in _lws_plat_file_seek_cur() argument80 return lseek(fops_fd->fd, offset, SEEK_CUR); in _lws_plat_file_seek_cur()84 _lws_plat_file_read(lws_fop_fd_t fops_fd, lws_filepos_t *amount, in _lws_plat_file_read() argument89 n = read(fops_fd->fd, buf, len); in _lws_plat_file_read()94 fops_fd->pos += n; in _lws_plat_file_read()101 _lws_plat_file_write(lws_fop_fd_t fops_fd, lws_filepos_t *amount, in _lws_plat_file_write() argument[all …]