diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-04-16 10:48:40 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-04-16 10:48:40 +0000 |
commit | 3f6835d1c75a241142b8811825e77fbbb13cbc9a (patch) | |
tree | 9f297d7eeed7558cd9fd992a68a235ef4e504333 /lib/libc/gen | |
parent | bf2cb9d524ff65885c7f607eb7d3e8e0b213d318 (diff) |
more display/list fixes, and a little whitespace;
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/confstr.3 | 4 | ||||
-rw-r--r-- | lib/libc/gen/getcap.3 | 3 | ||||
-rw-r--r-- | lib/libc/gen/readpassphrase.3 | 8 | ||||
-rw-r--r-- | lib/libc/gen/syslog.3 | 13 |
4 files changed, 11 insertions, 17 deletions
diff --git a/lib/libc/gen/confstr.3 b/lib/libc/gen/confstr.3 index 1bea096f4d5..1ebcd7c41e6 100644 --- a/lib/libc/gen/confstr.3 +++ b/lib/libc/gen/confstr.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: confstr.3,v 1.12 2003/06/02 20:18:34 millert Exp $ +.\" $OpenBSD: confstr.3,v 1.13 2004/04/16 10:48:39 jmc Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -71,9 +71,7 @@ has a value; up to The copied value is always null terminated. .Pp The available values are as follows: -.Pp .Bl -tag -width "123456" -.Pp .It Li _CS_PATH Return a value for the .Ev PATH diff --git a/lib/libc/gen/getcap.3 b/lib/libc/gen/getcap.3 index 368ffb06121..fa6429a3f46 100644 --- a/lib/libc/gen/getcap.3 +++ b/lib/libc/gen/getcap.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getcap.3,v 1.26 2003/06/02 20:18:34 millert Exp $ +.\" $OpenBSD: getcap.3,v 1.27 2004/04/16 10:48:39 jmc Exp $ .\" .\" Copyright (c) 1992, 1993 .\" The Regents of the University of California. All rights reserved. @@ -514,7 +514,6 @@ The capability abc also has two values bound but only a value of type .Sq \&$ is prevented from being defined in the capability record more. -.Pp .Bd -unfilled -offset indent file1: new\||\|new_record\||\|a modification of "old":\e diff --git a/lib/libc/gen/readpassphrase.3 b/lib/libc/gen/readpassphrase.3 index be4d74d45ff..029fa07fa86 100644 --- a/lib/libc/gen/readpassphrase.3 +++ b/lib/libc/gen/readpassphrase.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: readpassphrase.3,v 1.13 2003/06/17 21:56:23 millert Exp $ +.\" $OpenBSD: readpassphrase.3,v 1.14 2004/04/16 10:48:39 jmc Exp $ .\" .\" Copyright (c) 2000, 2002 Todd C. Miller <Todd.Miller@courtesan.com> .\" @@ -52,8 +52,7 @@ characters and the terminating newline (or return) character are discarded. .Fn readpassphrase takes the following optional .Fa flags : -.Pp -.Bd -literal -offset indent -compact +.Bd -literal -offset indent RPP_ECHO_OFF turn off echo (default behavior) RPP_ECHO_ON leave echo on RPP_REQUIRE_TTY fail if there is no tty @@ -123,8 +122,7 @@ flag was specified. .Sh SIGNALS .Fn readpassphrase will catch the following signals: -.Pp -.Bd -literal -offset indent -compact +.Bd -literal -offset indent SIGALRM SIGHUP SIGINT diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3 index d970ebe545b..22151f0a14c 100644 --- a/lib/libc/gen/syslog.3 +++ b/lib/libc/gen/syslog.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: syslog.3,v 1.23 2003/06/02 20:18:35 millert Exp $ +.\" $OpenBSD: syslog.3,v 1.24 2004/04/16 10:48:39 jmc Exp $ .\" .\" Copyright (c) 1985, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -66,7 +66,7 @@ .Ft int .Fn setlogmask_r "int maskpri" "struct syslog_data *data" .Bd -literal -.Pp + struct syslog_data { int log_file; int connected; @@ -76,7 +76,7 @@ struct syslog_data { int log_fac; int log_mask; }; -.Pp + #define SYSLOG_DATA_INIT {-1, 0, 0, 0, NULL, LOG_USER, 0xff} .Ed .Sh DESCRIPTION @@ -350,7 +350,7 @@ and .Fn setlogmask_r always return the previous log mask level. .Sh EXAMPLES -.Bd -literal -offset indent -compact +.Bd -literal -offset indent syslog(LOG_ALERT, "who: internal error 23"); openlog("ftpd", LOG_PID | LOG_NDELAY, LOG_FTP); @@ -360,11 +360,10 @@ setlogmask(LOG_UPTO(LOG_ERR)); syslog(LOG_INFO, "Connection from host %d", CallingHost); syslog(LOG_INFO|LOG_LOCAL2, "foobar error: %m"); -.Pp .Ed -For the reentrant functions: .Pp -.Bd -literal -offset indent -compact +For the reentrant functions: +.Bd -literal -offset indent struct syslog_data sdata = SYSLOG_DATA_INIT; syslog_r(LOG_INFO|LOG_LOCAL2, &sdata, "foobar error: %m"); |