I can understand why writing to stdout and stderr would have output, but why stdin?
#include <unistd.h>
int
main()
{
const char test[] = "test test test\n";
write(STDIN_FILENO, test, sizeof(test) - 1);
return 0;
}
EDIT: For those who want to give it a try, you can compile and run the program here