| 2656 | } |
| 2657 | |
| 2658 | int luferror(LUFILE *stream) |
| 2659 | { if (stream->is_handle && stream->herr) return 1; |
| 2660 | else return 0; |
| 2661 | } |
| 2662 | |
| 2663 | long int luftell(LUFILE *stream) |
| 2664 | { if (stream->is_handle && stream->canseek) return SetFilePointer(stream->h,0,NULL,FILE_CURRENT)-stream->initial_offset; |