commit | 262feb1ad0838bb585955b6ada5acbe106dbc9bf | [log] [tgz] |
---|---|---|
author | ajs <ajs> | Wed Feb 16 20:35:47 2005 +0000 |
committer | ajs <ajs> | Wed Feb 16 20:35:47 2005 +0000 |
tree | 392f66d5d71bcfdd87e5db32e89325ed9ef06c44 | |
parent | 42218e71256cb86b5078c99c931030c7b0ce9bab [diff] |
2005-02-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * stream.h: Declare new function stream_read_try suitable for use with non-blocking file descriptors. Indicate that stream_read and stream_read_unblock are deprecated. * stream.c: (stream_read_try) New function for use with non-blocking I/O. (stream_recvmsg) Should return -1 if the stream is too small to contain the data.