diff options
Diffstat (limited to 'lib/libc/compat-43/setregid.3')
-rw-r--r-- | lib/libc/compat-43/setregid.3 | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/lib/libc/compat-43/setregid.3 b/lib/libc/compat-43/setregid.3 index 4a3ab592e52..f4f7e472970 100644 --- a/lib/libc/compat-43/setregid.3 +++ b/lib/libc/compat-43/setregid.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: setregid.3,v 1.8 2000/04/18 02:31:32 aaron Exp $ +.\" $OpenBSD: setregid.3,v 1.9 2002/10/30 20:18:41 millert Exp $ .\" .Dd March 10, 1991 .Dt SETREGID 3 @@ -83,11 +83,22 @@ was specified. .Xr getgid 2 , .Xr setegid 2 , .Xr setgid 2 , +.Xr setresgid 2 , .Xr setuid 2 +.Sh STANDARDS +The +.Fn setregid +function is not a part of the +.St -p1003.1 +specification and should not be used where portability is desired. .Sh HISTORY The .Fn setregid -function call appeared in -.Bx 4.2 -and was dropped in +function call first appeared in +.Bx 4.2 . +A semantically different version appeared in .Bx 4.4 . +The current version, with the old semantics restored, is implemented via the +.Xr setresgid 2 +function which first appeared in +.Ox 3.3 . |