| 16 | // ---------------------------------------------------------------------------------------- |
| 17 | |
| 18 | sockstreambuf::int_type sockstreambuf:: |
| 19 | overflow ( |
| 20 | int_type c |
| 21 | ) |
| 22 | { |
| 23 | if (c != EOF) |
| 24 | { |
| 25 | *pptr() = c; |
| 26 | pbump(1); |
| 27 | } |
| 28 | if (flush_out_buffer() == EOF) |
| 29 | { |
| 30 | // an error occurred |
| 31 | return EOF; |
| 32 | } |
| 33 | return c; |
| 34 | } |
| 35 | |
| 36 | // ---------------------------------------------------------------------------------------- |
| 37 |
nothing calls this directly
no outgoing calls
no test coverage detected