* Dmitry Krivenok <krivenok.dmi...@gmail.com> wrote: > As you can see the loop was terminated after i==466. > I tried to load/unload the module many times but the last printed number was > always 466. > > Then I compiled the same module on FreeBSD-7.2 (note, the first test was run > on 8.0). > I saw exactly the same behavior except that the last number was always 550.
Yes. There is not a single form of flow control here, so if you can't write more data into the TTY buffers, it will just get discarded. FreeBSD 7 does the same thing as 8, but the default buffer sizes are probably a bit different. -- Ed Schouten <e...@80386.nl> WWW: http://80386.nl/
pgpGL1yJgnhth.pgp
Description: PGP signature