tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Issues with lseek(2) on a block device
tls%panix.com@localhost (Thor Lancelot Simon) writes:
>Probably not a good idea to start with lseek() because if you _do_
>encounter a tape device, seeking to SEEK_END could take you an extremely
>long time.
lseek() doesn't move the tape. But the open() or close() may trigger
tape operations like loading or winding. Special files are special.
Home |
Main Index |
Thread Index |
Old Index