[ee122] specs for project niggling details

Lisa Fowler fowler at eecs.berkeley.edu
Wed Sep 19 21:42:49 PDT 2007

Send the 2048.  If you're doing something like piping your input to
stdin, send the 2049th and whatever is left over as another request.
You can block and refuse to take input if you're taking the input in
real-time from the keyboard.


On 9/19/07, Nescio Nomen <nescionomen at gmail.com> wrote:
> read lines from the keyboard(stdin) up to 2048 Bytes in size
> -- what if it is 2049?  should we throw away the entire line and pretend the
> user never did anything?  or should we just send the first 2048?  if we do
> opt to send the first 2048, should we leave the 2049th on the stream, or
> should we take everything stdin has to offer, and just throw away anything
> that does not fit?
> _______________________________________________
> ee122 mailing list
> ee122 at mailman.ICSI.Berkeley.EDU
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122

More information about the ee122 mailing list