> You can detect overflow anyway - Use recvmsg and MSG_TRUNC is set on
> a BSD style box (not all systems support that tho). There is also
> TIOCINQ ioctl to see the size pending.
giving a 513 byte buffer and then blowing chunks if the 513th byte is used
is another, and more portable, way to know that truncation has occurred.
-
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.altern.org/andrebalsa/doc/lkml-faq.html