Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2001 17:14:15 -0700 (PDT)
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_syscalls.c
Message-ID:  <200104260014.f3Q0EFS90585@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alfred      2001/04/25 17:14:15 PDT

  Modified files:
    sys/kern             uipc_syscalls.c 
  Log:
  Sendfile is documented to return 0 on success, however if when a
  sf_hdtr is used to provide writev(2) style headers/trailers on the
  sent data the return value is actually either the result of writev(2)
  from the trailers or headers of no tailers are specified.
  
  Fix sendfile to comply with the documentation, by returning 0 on
  success.
  
  Ok'd by: dg
  
  Revision  Changes    Path
  1.90      +8 -1      src/sys/kern/uipc_syscalls.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104260014.f3Q0EFS90585>