[BACK]Return to msg.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/Attic/msg.c between version 1.5 and 1.6

version 1.5, 2004/12/06 21:03:12 version 1.6, 2004/12/07 17:10:56
Line 37 
Line 37 
  *   *
  * Pass a file descriptor <fd> to the other endpoint of the socket <sock>.   * Pass a file descriptor <fd> to the other endpoint of the socket <sock>.
  */   */
   
 int  int
 cvsd_sendfd(int sock, int fd)  cvsd_sendfd(int sock, int fd)
 {  {
Line 81 
Line 80 
  * Receive a file descriptor over the socket <sock>.  Returns the descriptor   * Receive a file descriptor over the socket <sock>.  Returns the descriptor
  * on success, or -1 on failure.   * on success, or -1 on failure.
  */   */
   
 int  int
 cvsd_recvfd(int sock)  cvsd_recvfd(int sock)
 {  {
Line 129 
Line 127 
  * <fd>.   * <fd>.
  * Returns 0 on success, or -1 on failure.   * Returns 0 on success, or -1 on failure.
  */   */
   
 int  int
 cvsd_sendmsg(int fd, u_int type, const void *data, size_t len)  cvsd_sendmsg(int fd, u_int type, const void *data, size_t len)
 {  {
Line 181 
Line 178 
  * Returns 1 if a message was read, 0 if the remote end closed the message   * Returns 1 if a message was read, 0 if the remote end closed the message
  * socket and no further messages can be read, or -1 on failure.   * socket and no further messages can be read, or -1 on failure.
  */   */
   
 int  int
 cvsd_recvmsg(int fd, u_int *type, void *dst, size_t *len)  cvsd_recvmsg(int fd, u_int *type, void *dst, size_t *len)
 {  {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6