From: Sascha Wildner Date: Sun, 25 May 2008 18:11:47 +0000 (+0000) Subject: Fix .Er abuse. X-Git-Tag: v2.0.1~556 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/04f14bf7dc116a5c0c971de12bc41eaf8f479d77 Fix .Er abuse. --- diff --git a/lib/libc/rpc/des_crypt.3 b/lib/libc/rpc/des_crypt.3 index 315239dd91..001cdfdce1 100644 --- a/lib/libc/rpc/des_crypt.3 +++ b/lib/libc/rpc/des_crypt.3 @@ -1,6 +1,6 @@ .\" @(#)des_crypt.3 2.1 88/08/11 4.0 RPCSRC; from 1.16 88/03/02 SMI; .\" $FreeBSD: src/lib/libc/rpc/des_crypt.3,v 1.4.2.3 2001/12/14 18:33:56 ru Exp $ -.\" $DragonFly: src/lib/libc/rpc/des_crypt.3,v 1.3 2005/08/05 22:35:10 swildner Exp $ +.\" $DragonFly: src/lib/libc/rpc/des_crypt.3,v 1.4 2008/05/25 18:11:47 swildner Exp $ .\" .Dd October 6, 1987 .Dt DES_CRYPT 3 @@ -90,7 +90,7 @@ If .Dv DES_HW is specified, and there is no hardware, then the encryption is performed in software and the routine returns -.Er DESERR_NOHWDEVICE . +.Dv DESERR_NOHWDEVICE . For .Fn cbc_crypt , the parameter @@ -99,20 +99,20 @@ is the 8-byte initialization vector for the chaining. It is updated to the next initialization vector upon return. -.Sh ERRORS -.Bl -tag -width [DESERR_NOHWDEVICE] -compact -.It Bq Er DESERR_NONE +.Sh RETURN VALUES +.Bl -tag -width ".Dv DESERR_NOHWDEVICE" -compact +.It Dv DESERR_NONE No error. -.It Bq Er DESERR_NOHWDEVICE +.It Dv DESERR_NOHWDEVICE Encryption succeeded, but done in software instead of the requested hardware. -.It Bq Er DESERR_HWERR +.It Dv DESERR_HWERR An error occurred in the hardware or driver. -.It Bq Er DESERR_BADPARAM +.It Dv DESERR_BADPARAM Bad parameter to routine. .El .Pp Given a result status -.Va stat , +.Fa stat , the macro .Fn DES_FAILED stat is false only for the first two statuses. diff --git a/lib/libc/sys/sched_get_priority_max.2 b/lib/libc/sys/sched_get_priority_max.2 index 858cae1c88..67b05f52b3 100644 --- a/lib/libc/sys/sched_get_priority_max.2 +++ b/lib/libc/sys/sched_get_priority_max.2 @@ -1,5 +1,5 @@ .\" $FreeBSD: src/lib/libc/sys/sched_get_priority_max.2,v 1.3.2.9 2001/12/14 18:34:01 ru Exp $ -.\" $DragonFly: src/lib/libc/sys/sched_get_priority_max.2,v 1.4 2007/06/30 19:03:52 swildner Exp $ +.\" $DragonFly: src/lib/libc/sys/sched_get_priority_max.2,v 1.5 2008/05/25 18:11:47 swildner Exp $ .\" Copyright (c) 1998 HD Associates, Inc. .\" All rights reserved. .\" @@ -68,12 +68,12 @@ The value of .Fa policy should be one of the scheduling policy values defined in .In sched.h : -.Bl -tag -width [SCHED_OTHER] -.It Bq Er SCHED_FIFO +.Bl -tag -width ".Dv SCHED_OTHER" +.It Dv SCHED_FIFO First-in-first-out fixed priority scheduling with no round robin scheduling; -.It Bq Er SCHED_OTHER +.It Dv SCHED_OTHER The standard time sharing scheduler; -.It Bq Er SCHED_RR +.It Dv SCHED_RR Round-robin scheduling across same priority processes. .El .Sh RETURN VALUES diff --git a/lib/libc/sys/sched_setscheduler.2 b/lib/libc/sys/sched_setscheduler.2 index be86f7388f..ba81c22267 100644 --- a/lib/libc/sys/sched_setscheduler.2 +++ b/lib/libc/sys/sched_setscheduler.2 @@ -1,5 +1,5 @@ .\" $FreeBSD: src/lib/libc/sys/sched_setscheduler.2,v 1.3.2.9 2001/12/14 18:34:01 ru Exp $ -.\" $DragonFly: src/lib/libc/sys/sched_setscheduler.2,v 1.5 2008/05/02 02:05:04 swildner Exp $ +.\" $DragonFly: src/lib/libc/sys/sched_setscheduler.2,v 1.6 2008/05/25 18:11:47 swildner Exp $ .\" Copyright (c) 1998 HD Associates, Inc. .\" All rights reserved. .\" @@ -83,12 +83,12 @@ as a write-style operation. .Pp The scheduling policies are in .In sched.h : -.Bl -tag -width [SCHED_OTHER] -.It Bq Er SCHED_FIFO +.Bl -tag -width ".Dv SCHED_OTHER" +.It Dv SCHED_FIFO First-in-first-out fixed priority scheduling with no round robin scheduling; -.It Bq Er SCHED_OTHER +.It Dv SCHED_OTHER The standard time sharing scheduler; -.It Bq Er SCHED_RR +.It Dv SCHED_RR Round-robin scheduling across same priority processes. .El .Pp