Date: Thu, 9 Jul 2020 19:11:57 +0000 (UTC) From: Kirk McKusick <mckusick@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r363056 - stable/12/lib/libufs Message-ID: <202007091911.069JBvHe082549@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mckusick Date: Thu Jul 9 19:11:57 2020 New Revision: 363056 URL: https://svnweb.freebsd.org/changeset/base/363056 Log: MFC of 362560 Correctly describe libufs library sbget() and sbput() return values. Modified: stable/12/lib/libufs/sbread.3 Directory Properties: stable/12/ (props changed) Modified: stable/12/lib/libufs/sbread.3 ============================================================================== --- stable/12/lib/libufs/sbread.3 Thu Jul 9 18:34:54 2020 (r363055) +++ stable/12/lib/libufs/sbread.3 Thu Jul 9 19:11:57 2020 (r363056) @@ -109,28 +109,30 @@ function will write to all the alternate superblock lo .Fa all value is non-zero. .Sh RETURN VALUES -.Rv -std sbget sbput sbread sbwrite -.Sh ERRORS +.Rv -std sbread sbwrite The .Fn sbget and +.Fn sbput +functions return the value 0 if successful; +otherwise they return one of the errors described below. +.Sh ERRORS +The errors returned by +.Fn sbget +and .Fn sbread -functions may fail and set -.Va errno -for any of the errors specified for the library function +include any of the errors specified for the library function .Xr bread 3 . -Additionally, it may follow the +Additionally, they may follow the .Xr libufs 3 error methodologies in situations where no usable superblock could be found. .Pp -The +The errors returned by .Fn sbput and .Fn sbwrite -functions may fail and set -.Va errno -for any of the errors specified for the library function +include any of the errors specified for the library function .Xr bwrite 3 . .Sh SEE ALSO .Xr bread 3 ,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007091911.069JBvHe082549>