Messages in this thread | | | Subject | Re: lpr problems in 2.0->2.1? | Date | Sun, 08 Feb 1998 21:35:49 +0000 | From | Philip Blundell <> |
| |
>And I changed my lpr filter recently, adding a program that calls >tcdrain(1); apparently that's not legal on parallel port devices, so
No, it's not; the lp driver isn't buffered in the kernel, so when write() returns you know that all the data has gone out. This means that draining the buffer is never a meaningful thing to do.
(That's not to say that adding buffering might not be a good idea at some point, though...)
p.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |