| 255 | } |
| 256 | |
| 257 | bool istream::read_wait(int timeo) const |
| 258 | { |
| 259 | if (acl_vstream_can_read(stream_) == 1) { |
| 260 | return true; |
| 261 | } |
| 262 | return acl_read_wait_ms(ACL_VSTREAM_SOCK(stream_), timeo) == 0; |
| 263 | } |
| 264 | |
| 265 | bool istream::gets_peek(string& buf, bool nonl /* = true */, |
| 266 | bool clear /* = false */, int max /* = 0 */) |
no test coverage detected