changeset 53 | 667cd5966695 |
parent 26 | 7227789ca718 |
52:3af277b9f73b | 53:667cd5966695 |
---|---|
87 } |
87 } |
88 close (fd_entrada); |
88 close (fd_entrada); |
89 /* End of code duplication */ |
89 /* End of code duplication */ |
90 return 0; |
90 return 0; |
91 } |
91 } |
92 write(1, missatge, status); |
|
92 } |
93 } |
93 |
94 |
94 if (status < 0) |
95 if (status < 0) |
95 { |
96 { |
96 fprintf(stderr, "Error reading the named pipe: %s\n", |
97 fprintf(stderr, "Error reading the named pipe: %s\n", |