/[mailutils]/mailutils/mailbox/stream.c
ViewVC logotype

Diff of /mailutils/mailbox/stream.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by gray, Sat Jan 18 14:59:43 2003 UTC revision 1.23 by gray, Wed Jan 22 20:22:12 2003 UTC
# Line 686  stream_sequential_readline (stream_t str Line 686  stream_sequential_readline (stream_t str
686  int  int
687  stream_sequential_write (stream_t stream, char *buf, size_t size)  stream_sequential_write (stream_t stream, char *buf, size_t size)
688  {  {
689      if (stream == NULL)
690        return EINVAL;
691    while (size > 0)    while (size > 0)
692      {      {
693        size_t sz;        size_t sz;
# Line 703  stream_sequential_write (stream_t stream Line 705  stream_sequential_write (stream_t stream
705  int  int
706  stream_strerror (stream_t stream, const char **p)  stream_strerror (stream_t stream, const char **p)
707  {  {
708      if (stream == NULL)
709        return EINVAL;
710    if (stream->_strerror)    if (stream->_strerror)
711      return stream->_strerror (stream, p);      return stream->_strerror (stream, p);
712    return ENOSYS;    return ENOSYS;

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26