On Tue, 4 Apr 2000, Richard Gooch wrote:
> If not ioctl(2), then what other interface would you propose for
> binary data? I don't accept the argument that everything should be in
> ASCII format.
And it's my problem in which way? Compare the cost of conversion from
ASCII to binary and back with the cost of syscall. Watch it disappear in
noise. If your program constantly calls ioctl() - it's doing something
very wrong.
-- echo 57600,8,n,1 > /dev/serial/ttyS0ctl should work.- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:13 EST