Closed munshkr closed 13 years ago
I made a quick fix, limiting the buffer to 4KB only. So, for now, you can only printf
strings with less than 4096 characters (included the content of variables parsed internally by sprintf
).
If you need to write bigger strings, use the write
syscall directly.
fprintf("Hello, I'm pid %u\n", getpid());
Probably something about the number of bytes written/read.