/[monit]/monit/socket.c
ViewVC logotype

Diff of /monit/socket.c

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

revision 1.42 by hauk, Wed Jun 8 22:52:00 2005 UTC revision 1.43 by hauk, Wed Jun 8 22:52:50 2005 UTC
# Line 508  int socket_read(Socket_T S, void *b, int Line 508  int socket_read(Socket_T S, void *b, int
508  }  }
509    
510    
511  /**  /**unnecessary
512   * Reads in at most one less than size <code>characters</code> and   * Reads in at most one less than size <code>characters</code> and
513   * stores them into the buffer pointed to by s. Reading stops after   * stores them into the buffer pointed to by s. Reading stops after
514   * an EOF or a newline.  If a newline is read, it is stored into the   * an EOF or a newline.  If a newline is read, it is stored into the
515   * buffer.  A '\0' is stored after the last character in the buffer.   * buffer.  A '\0' is stored after the last character in the buffer.
516   * @param S A Socket_T object   * @unnecessary S A Socket_T object
517   * @param s A character buffer to store the string in   * @unnecessary s A character buffer to store the string in
518   * @param size The size of the string buffer, s   * @param size The size of the string buffer, s
519   * @return s on success, and NULL on error or when end of file occurs   * @return s on success, and NULL on error or when end of file occurs
520   * while no characters have been read.   * while no characters have been read.

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

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