Read from stdin
<p>It seems as if read(0, buffer, 255) always returns 1 when reading. In my program I direct input through the pipe into this program, but I noticed that it always returned a 1. Why is this? Is there a better way of doing this? At the same time, it seems to fill up the buffer properly, past the 1 char.</p>

<p>Thank you in advance!</p>
