-.\" $OpenBSD: getgrent.3,v 1.22 2015/11/04 08:36:10 jmc Exp $
+.\" $OpenBSD: getgrent.3,v 1.23 2018/12/28 11:40:23 tb Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 4 2015 $
+.Dd $Mdocdate: December 28 2018 $
.Dt GETGRENT 3
.Os
.Sh NAME
.El
.Sh ERRORS
The
-.Fn getgruid_r
+.Fn getgrgid_r
and
.Fn getgrnam_r
functions may fail if: