| 3112 | } |
| 3113 | |
| 3114 | static int stdio_stream_write_buf(FILE *stream, const char *start, |
| 3115 | const char *end) |
| 3116 | { |
| 3117 | if (stdio_write_buf(stream->fd, start, end) < 0) |
| 3118 | { |
| 3119 | stream->flags |= STDIO_FLAG_ERROR; |
| 3120 | return EOF; |
| 3121 | } |
| 3122 | return 0; |
| 3123 | } |
| 3124 | |
| 3125 | static int stdio_stream_write(FILE *stream) |
| 3126 | { |
no test coverage detected