Skip to content
Advertisement

Tag: fcntl

Write magnetic tape end of record linux

Task is create two record with different sizes within one file entry. I’m using python 3.4.5 for testing: Is there an ioctl opt code that will initiate a new record on the tape with variable record length. Or any other way to work around this bug? Answer Issue was with tcopy, it uses block size on device instead of detecting

F_SETPIPE_SZ undeclared

I have included following headers: I have also tried to use before #include <unistd.h>, but it also does not help. I try to use fcntl and pass it F_SETPIPE_SZ as second argument, but I keep getting this error message: error: ‘F_SETPIPE_SZ’ undeclared (first use in this function) I actually found out that I don’t need this, but I’m just curious

Advertisement