fork(1) download
  1. #include <stdio.h>
  2. #include <errno.h>
  3. int main (void)
  4. {
  5. fprintf (stdin, "Ciao amore!\n");
  6. if (ferror (stdin))
  7. {
  8. perror ("Attenzione");
  9. }
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 1716KB
stdin
Standard input is empty
stdout
Standard output is empty