> To conclude, the store the *last* N bytes received seems a more > reasonable policy for the input buffers managed by the kernel. If the
For your use maybe, but it is not the normal behaviour and it is not the behaviour supported by hardware, which generally buffers the first few bytes (and some things like Apple localtalk actually rely upon this) > other policy is used (as tty does), then the kernel should flush all > the buffers he *can* physically flush, remaining inside the host > computer of course. It certainly does no harm to try and do the job as best you can. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/