consistency with the C library source code.
From: "Chris G. Demetriou" <cgd@vangogh.CS.Berkeley.EDU>
SCCS-vsn: lib/libc/compat-43/setregid.2 8.2
SCCS-vsn: lib/libc/compat-43/setreuid.2 8.2
-.\" Copyright (c) 1980, 1991, 1993
+.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
.\"
.\" %sccs.include.redist.man%
.\"
.\" The Regents of the University of California. All rights reserved.
.\"
.\" %sccs.include.redist.man%
.\"
-.\" @(#)setregid.2 8.1 (Berkeley) %G%
+.\" @(#)setregid.2 8.2 (Berkeley) %G%
.Sh SYNOPSIS
.Fd #include <unistd.h>
.Ft int
.Sh SYNOPSIS
.Fd #include <unistd.h>
.Ft int
-.Fn setregid "int rgid" "int egid"
+.Fn setregid "gid_t rgid" "gid_t egid"
.Sh DESCRIPTION
The real and effective group ID's of the current process
are set to the arguments.
.Sh DESCRIPTION
The real and effective group ID's of the current process
are set to the arguments.
ID in place of the -1 parameter.
.Pp
The
ID in place of the -1 parameter.
.Pp
The
-.Fn setregid function was intended to allow swapping
+.Fn setregid
+function was intended to allow swapping
the real and effective group IDs
in set-group-ID programs to temporarily relinquish the set-group-ID value.
This function did not work correctly,
the real and effective group IDs
in set-group-ID programs to temporarily relinquish the set-group-ID value.
This function did not work correctly,
-.\" Copyright (c) 1980, 1991, 1993
+.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
.\"
.\" %sccs.include.redist.man%
.\"
.\" The Regents of the University of California. All rights reserved.
.\"
.\" %sccs.include.redist.man%
.\"
-.\" @(#)setreuid.2 8.1 (Berkeley) %G%
+.\" @(#)setreuid.2 8.2 (Berkeley) %G%
.Sh SYNOPSIS
.Fd #include <unistd.h>
.Ft int
.Sh SYNOPSIS
.Fd #include <unistd.h>
.Ft int
-.Fn setreuid "int ruid" "int euid"
+.Fn setreuid "uid_t ruid" "uid_t euid"
.Sh DESCRIPTION
The real and effective user IDs of the
current process are set according to the arguments.
.Sh DESCRIPTION
The real and effective user IDs of the
current process are set according to the arguments.