Date: Fri, 3 Aug 2018 14:23:01 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r337252 - stable/10/contrib/openbsm/libbsm Message-ID: <201808031423.w73EN1ok076235@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: asomers Date: Fri Aug 3 14:23:01 2018 New Revision: 337252 URL: https://svnweb.freebsd.org/changeset/base/337252 Log: MFC r334390: au_read_rec(3): correct return value in man page Submitted by: aniketp Reviewed by: csjp (earlier version) Sponsored by: Google, Inc. (GSoC 2018) Differential Revision: https://reviews.freebsd.org/D15618 Modified: stable/10/contrib/openbsm/libbsm/au_io.3 Directory Properties: stable/10/ (props changed) Modified: stable/10/contrib/openbsm/libbsm/au_io.3 ============================================================================== --- stable/10/contrib/openbsm/libbsm/au_io.3 Fri Aug 3 14:22:16 2018 (r337251) +++ stable/10/contrib/openbsm/libbsm/au_io.3 Fri Aug 3 14:23:01 2018 (r337252) @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 4, 2009 +.Dd May 30, 2018 .Dt AU_IO 3 .Os .Sh NAME @@ -129,14 +129,14 @@ would be used to free the record buffer. Finally, the source stream would be closed by a call to .Xr fclose 3 . .Sh RETURN VALUES -The +On success, .Fn au_fetch_tok -and +returns 0 while .Fn au_read_rec -functions -return 0 on success, or \-1 on failure along with additional error information -returned via -.Va errno . +returns the number of bytes read. +Both functions return \-1 on failure with +.Va errno +set appropriately. .Sh SEE ALSO .Xr free 3 , .Xr libbsm 3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808031423.w73EN1ok076235>