summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/confstr.34
-rw-r--r--lib/libc/gen/getcap.33
-rw-r--r--lib/libc/gen/readpassphrase.38
-rw-r--r--lib/libc/gen/syslog.313
-rw-r--r--lib/libc/locale/setlocale.32
-rw-r--r--lib/libc/net/getifaddrs.33
-rw-r--r--lib/libc/ohash/ohash_init.39
-rw-r--r--lib/libc/ohash/ohash_interval.35
-rw-r--r--lib/libc/time/tzset.33
9 files changed, 20 insertions, 30 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");
diff --git a/lib/libc/locale/setlocale.3 b/lib/libc/locale/setlocale.3
index 6f6470a62ac..6c66560fcf8 100644
--- a/lib/libc/locale/setlocale.3
+++ b/lib/libc/locale/setlocale.3
@@ -63,7 +63,6 @@ The
.Fn setlocale
function recognizes several categories of routines.
These are the categories and the sets of routines they select:
-.Pp
.Bl -tag -width LC_MONETARY
.It Dv LC_ALL
Set the entire locale generically.
@@ -154,7 +153,6 @@ struct lconv {
.Ed
.Pp
The individual fields have the following meanings:
-.Pp
.Bl -tag -width mon_decimal_point
.It Fa decimal_point
The decimal point character, except for currency values.
diff --git a/lib/libc/net/getifaddrs.3 b/lib/libc/net/getifaddrs.3
index 9287b3b7347..ffbdf4da417 100644
--- a/lib/libc/net/getifaddrs.3
+++ b/lib/libc/net/getifaddrs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getifaddrs.3,v 1.10 2003/05/30 21:37:59 jmc Exp $
+.\" $OpenBSD: getifaddrs.3,v 1.11 2004/04/16 10:48:39 jmc Exp $
.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
.\"
.\" Copyright (c) 1995, 1999
@@ -58,7 +58,6 @@ structure contains at least the following entries:
struct sockaddr *ifa_dstaddr; /* P2P interface destination */
void *ifa_data; /* Address specific data */
.Ed
-.Pp
.Bl -tag -width Ds
.It Fa ifa_next
Contains a pointer to the next structure on the list.
diff --git a/lib/libc/ohash/ohash_init.3 b/lib/libc/ohash/ohash_init.3
index 8b13376c1ff..61ed863c7ac 100644
--- a/lib/libc/ohash/ohash_init.3
+++ b/lib/libc/ohash/ohash_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ohash_init.3,v 1.7 2004/01/23 23:08:45 jmc Exp $
+.\" $OpenBSD: ohash_init.3,v 1.8 2004/04/16 10:48:39 jmc Exp $
.\"
.\" Copyright (c) 1999 Marc Espie.
.\"
@@ -167,10 +167,9 @@ if the slot was empty.
and
.Fn ohash_next
can be used to access all elements in an ohash table, like this:
-.Pp
-.Bd -literal
- for (n = ohash_first(h, &i); n != NULL; n = ohash_next(h, &i))
- do_something_with(n);
+.Bd -literal -offset indent
+for (n = ohash_first(h, &i); n != NULL; n = ohash_next(h, &i))
+ do_something_with(n);
.Ed
.Pp
.Fa i
diff --git a/lib/libc/ohash/ohash_interval.3 b/lib/libc/ohash/ohash_interval.3
index f181ed5fba4..f735544ab2e 100644
--- a/lib/libc/ohash/ohash_interval.3
+++ b/lib/libc/ohash/ohash_interval.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ohash_interval.3,v 1.4 2002/05/01 08:03:29 mpech Exp $
+.\" $OpenBSD: ohash_interval.3,v 1.5 2004/04/16 10:48:39 jmc Exp $
.\"
.\" Copyright (c) 2001 Marc Espie.
.\"
@@ -72,7 +72,8 @@ to the terminating null byte.
is a simple hashing function that yields good results on common data sets.
.Pp
.Fn ohash_create_entry
-can be used to create a new record with a given key. In that case,
+can be used to create a new record with a given key.
+In that case,
the alloc field of
.Fa info
should point to a
diff --git a/lib/libc/time/tzset.3 b/lib/libc/time/tzset.3
index f43c78a170f..de89e8f0fb0 100644
--- a/lib/libc/time/tzset.3
+++ b/lib/libc/time/tzset.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tzset.3,v 1.13 2003/02/14 18:24:53 millert Exp $
+.\" $OpenBSD: tzset.3,v 1.14 2004/04/16 10:48:39 jmc Exp $
.Dd May 24, 1999
.Dt TZSET 3
.Os
@@ -134,7 +134,6 @@ west (which may be indicated by an optional preceding
Indicates when to change to and back from summer time.
.Ar rule
has the form (spaces added for clarity):
-.Pp
.Bd -ragged -offset indent
.Ar date
/