[Wlug] writing to tape
Wed, 17 Jul 2002 20:46:53 -0400
On Wed, Jul 17, 2002 at 08:36:16PM -0400, Brad Noyes wrote:
> This program will work with a file, and a floppy device, but not a tape
> can anyone give me some pointers? what do i have to do differently to
> write to tape?
I've never used tape before, but I know tape is not quite as ambidextrous
as a file or floppy device.
So, instead of O_RDWR | O_CREAT | O_TRUNC, I'd try a simple O_WRONLY. Or
other things. Maybe.