summaryrefslogtreecommitdiff
path: root/lib/libc/compat-43/setregid.3
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-07-07 14:22:27 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-07-07 14:22:27 +0000
commitd77b52d76b661c378ed1bea68095c5702ab14418 (patch)
tree16c8d464ebac9d2eee495df7cec34633e282d437 /lib/libc/compat-43/setregid.3
parentfb7b06fee746418e9c2b2b8cb8040ff69d698776 (diff)
when using `-' as a negative sign, escape it with a backslash so troff knows
it's not supposed to be a hyphen/dash
Diffstat (limited to 'lib/libc/compat-43/setregid.3')
-rw-r--r--lib/libc/compat-43/setregid.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/compat-43/setregid.3 b/lib/libc/compat-43/setregid.3
index 9ba7b4b7763..cd02537374d 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.4 1999/05/25 13:06:44 aaron Exp $
+.\" $OpenBSD: setregid.3,v 1.5 1999/07/07 14:22:24 aaron Exp $
.\"
.Dd March 10, 1991
.Dt SETREGID 3
@@ -48,9 +48,9 @@ Unprivileged users may change the real group
ID to the effective group ID and vice-versa; only the super-user may
make other changes.
.Pp
-Supplying a value of -1 for either the real or effective
+Supplying a value of \-1 for either the real or effective
group ID forces the system to substitute the current
-ID in place of the -1 parameter.
+ID in place of the \-1 parameter.
.Pp
The
.Fn setregid
@@ -68,7 +68,7 @@ standard
function is preferred.
.Sh RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise,
-a value of -1 is returned and
+a value of \-1 is returned and
.Va errno
is set to indicate the error.
.Sh ERRORS