Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib generate & symbolically
details: https://anonhg.NetBSD.org/src/rev/c03c89fefe40
branches: trunk
changeset: 521862:c03c89fefe40
user: ross <ross%NetBSD.org@localhost>
date: Thu Feb 07 09:24:04 2002 +0000
description:
generate & symbolically
diffstat:
lib/libc/gen/directory.3 | 4 ++--
lib/libc/gen/getcap.3 | 4 ++--
lib/libc/gen/glob.3 | 6 +++---
lib/libc/gen/shquote.3 | 6 +++---
lib/libc/gen/sysctl.3 | 10 +++++-----
lib/libc/gen/unvis.3 | 6 +++---
lib/libc/hash/rmd160.3 | 8 ++++----
lib/libc/hash/sha1.3 | 8 ++++----
lib/libc/net/getaddrinfo.3 | 12 ++++++------
lib/libc/net/inet6_rthdr_space.3 | 4 ++--
lib/libc/rpc/rpc.3 | 4 ++--
lib/libc/stdlib/getopt.3 | 4 ++--
lib/libc/stdlib/getopt_long.3 | 4 ++--
lib/libc/stdlib/getsubopt.3 | 4 ++--
lib/libc/stdlib/random.3 | 4 ++--
lib/libc/string/strsep.3 | 4 ++--
lib/libcompat/regexp/regexp.3 | 8 ++++----
lib/libcrypto/man/BIO_f_md.3 | 4 ++--
lib/libcrypto/man/BIO_f_ssl.3 | 6 +++---
lib/libcrypto/man/BIO_s_mem.3 | 4 ++--
lib/libcrypto/man/BIO_should_retry.3 | 12 ++++++------
lib/libcrypto/man/BN_set_bit.3 | 6 +++---
lib/libcrypto/man/ERR_get_error.3 | 6 +++---
lib/libcrypto/man/EVP_DigestInit.3 | 10 +++++-----
lib/libcrypto/man/EVP_EncryptInit.3 | 10 +++++-----
lib/libcrypto/man/RSA_set_method.3 | 6 +++---
lib/libcrypto/man/SSL_CTX_set_verify.3 | 6 +++---
lib/libcrypto/man/openssl_bn_internal.3 | 4 ++--
lib/libcrypto/man/openssl_threads.3 | 4 ++--
lib/libform/forms.3 | 12 ++++++------
lib/libm/man/math.3 | 4 ++--
31 files changed, 97 insertions(+), 97 deletions(-)
diffs (truncated from 754 to 300 lines):
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/gen/directory.3
--- a/lib/libc/gen/directory.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/gen/directory.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: directory.3,v 1.13 2002/02/07 07:00:11 ross Exp $
+.\" $NetBSD: directory.3,v 1.14 2002/02/07 09:24:04 ross Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -160,7 +160,7 @@
len = strlen(name);
dirp = opendir(".");
while ((dp = readdir(dirp)) != NULL)
- if (dp-\*[Gt]d_namlen == len && !strcmp(dp-\*[Gt]d_name, name)) {
+ if (dp-\*[Gt]d_namlen == len \*[Am]\*[Am] !strcmp(dp-\*[Gt]d_name, name)) {
(void)closedir(dirp);
return FOUND;
}
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/gen/getcap.3
--- a/lib/libc/gen/getcap.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/gen/getcap.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: getcap.3,v 1.13 2002/02/07 07:00:12 ross Exp $
+.\" $NetBSD: getcap.3,v 1.14 2002/02/07 09:24:04 ross Exp $
.\"
.\" Copyright (c) 1992, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -488,7 +488,7 @@
codes, new lines, and colons may be conveniently represented by the use
of escape sequences:
.Bl -column "\e\|X,X\e\|X" "(ASCII octal nnn)"
-^X ('\fIX\fP' & 037) control-\fIX\fP
+^X ('\fIX\fP' \*[Am] 037) control-\fIX\fP
\e\|b, \e\|B (ASCII 010) backspace
\e\|t, \e\|T (ASCII 011) tab
\e\|n, \e\|N (ASCII 012) line feed (newline)
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/gen/glob.3
--- a/lib/libc/gen/glob.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/gen/glob.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: glob.3,v 1.22 2002/02/07 07:00:13 ross Exp $
+.\" $NetBSD: glob.3,v 1.23 2002/02/07 09:24:04 ross Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -429,8 +429,8 @@
glob_t g;
g.gl_offs = 2;
-glob("*.c", GLOB_DOOFFS, NULL, &g);
-glob("*.h", GLOB_DOOFFS | GLOB_APPEND, NULL, &g);
+glob("*.c", GLOB_DOOFFS, NULL, \*[Am]g);
+glob("*.h", GLOB_DOOFFS | GLOB_APPEND, NULL, \*[Am]g);
g.gl_pathv[0] = "ls";
g.gl_pathv[1] = "-l";
execvp("ls", g.gl_pathv);
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/gen/shquote.3
--- a/lib/libc/gen/shquote.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/gen/shquote.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: shquote.3,v 1.3 2002/02/07 07:00:17 ross Exp $
+.\" $NetBSD: shquote.3,v 1.4 2002/02/07 09:24:04 ross Exp $
.\"
.\" Copyright (c) 2001 Christopher G. Demetriou
.\" All rights reserved.
@@ -153,7 +153,7 @@
* Size buffer to hold the command string, and allocate it.
* Buffer of length one given to snprintf() for portability.
*/
-cmdlen = snprintf(&c, 1, "${PROG-%s} ", PROG_DEFAULT);
+cmdlen = snprintf(\*[Am]c, 1, "${PROG-%s} ", PROG_DEFAULT);
qlen = shquotev(argc, argv, NULL, 0) + 1;
if (qlen == (size_t)-1) {
\&...
@@ -191,7 +191,7 @@
* Size buffer to hold the command string, and allocate it.
* Buffer of length one given to snprintf() for portability.
*/
-cmdlen = snprintf(&c, 1, "${PROG-%s} ", PROG_DEFAULT);
+cmdlen = snprintf(\*[Am]c, 1, "${PROG-%s} ", PROG_DEFAULT);
for (i = 0; i \*[Lt] argc; i++) {
qlen = shquote(argv[i], NULL, 0) + 1;
if (qlen == (size_t)-1) {
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/gen/sysctl.3
--- a/lib/libc/gen/sysctl.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/gen/sysctl.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sysctl.3,v 1.87 2002/02/07 07:00:17 ross Exp $
+.\" $NetBSD: sysctl.3,v 1.88 2002/02/07 09:24:04 ross Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -143,7 +143,7 @@
mib[0] = CTL_KERN;
mib[1] = KERN_MAXPROC;
len = sizeof(maxproc);
-sysctl(mib, 2, &maxproc, &len, NULL, 0);
+sysctl(mib, 2, \*[Am]maxproc, \*[Am]len, NULL, 0);
.Ed
.sp
To retrieve the standard search path for the system utilities:
@@ -154,9 +154,9 @@
.sp
mib[0] = CTL_USER;
mib[1] = USER_CS_PATH;
-sysctl(mib, 2, NULL, &len, NULL, 0);
+sysctl(mib, 2, NULL, \*[Am]len, NULL, 0);
p = malloc(len);
-sysctl(mib, 2, p, &len, NULL, 0);
+sysctl(mib, 2, p, \*[Am]len, NULL, 0);
.Ed
.Sh CTL_DEBUG
The debugging variables vary from system to system.
@@ -182,7 +182,7 @@
as a debugging variable, the following declaration would be used:
.Bd -literal -offset indent -compact
int dospecialcheck = 1;
-struct ctldebug debug5 = { "dospecialcheck", &dospecialcheck };
+struct ctldebug debug5 = { "dospecialcheck", \*[Am]dospecialcheck };
.Ed
.Sh CTL_VFS
A distinguished second level name, VFS_GENERIC,
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/gen/unvis.3
--- a/lib/libc/gen/unvis.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/gen/unvis.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: unvis.3,v 1.12 2002/02/07 07:00:18 ross Exp $
+.\" $NetBSD: unvis.3,v 1.13 2002/02/07 09:24:05 ross Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -140,7 +140,7 @@
while ((ch = getchar()) != EOF) {
again:
- switch(unvis(&out, ch, &state, 0)) {
+ switch(unvis(\*[Am]out, ch, \*[Am]state, 0)) {
case 0:
case UNVIS_NOCHAR:
break;
@@ -155,7 +155,7 @@
exit(1);
}
}
-if (unvis(&out, (char)0, &state, UNVIS_END) == UNVIS_VALID)
+if (unvis(\*[Am]out, (char)0, \*[Am]state, UNVIS_END) == UNVIS_VALID)
(void) putchar(out);
.Ed
.Sh SEE ALSO
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/hash/rmd160.3
--- a/lib/libc/hash/rmd160.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/hash/rmd160.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: rmd160.3,v 1.4 2002/02/07 07:00:19 ross Exp $
+.\" $NetBSD: rmd160.3,v 1.5 2002/02/07 09:24:05 ross Exp $
.\" $OpenBSD: rmd160.3,v 1.12 2000/04/18 03:01:29 aaron Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller%courtesan.com@localhost>
@@ -165,9 +165,9 @@
buf = "abc";
n = strlen(buf);
-RMD160Init(&rmd);
-RMD160Update(&rmd, (u_char *)buf, n);
-RMD160Final(results, &rmd);
+RMD160Init(\*[Am]rmd);
+RMD160Update(\*[Am]rmd, (u_char *)buf, n);
+RMD160Final(results, \*[Am]rmd);
/* Print the digest as one long hex value */
printf("0x");
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/hash/sha1.3
--- a/lib/libc/hash/sha1.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/hash/sha1.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sha1.3,v 1.9 2002/02/07 07:00:19 ross Exp $
+.\" $NetBSD: sha1.3,v 1.10 2002/02/07 09:24:05 ross Exp $
.\" $OpenBSD: sha1.3,v 1.9 1998/03/07 22:18:12 millert Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller%courtesan.com@localhost>
@@ -161,9 +161,9 @@
buf = "abc";
n = strlen(buf);
-SHA1Init(&sha);
-SHA1Update(&sha, (u_char *)buf, n);
-SHA1Final(results, &sha);
+SHA1Init(\*[Am]sha);
+SHA1Update(\*[Am]sha, (u_char *)buf, n);
+SHA1Final(results, \*[Am]sha);
/* Print the digest as one long hex value */
printf("0x");
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/net/getaddrinfo.3
--- a/lib/libc/net/getaddrinfo.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/net/getaddrinfo.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: getaddrinfo.3,v 1.23 2002/02/07 07:00:20 ross Exp $
+.\" $NetBSD: getaddrinfo.3,v 1.24 2002/02/07 09:24:06 ross Exp $
.\" $KAME: getaddrinfo.3,v 1.29 2001/02/12 09:24:45 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
@@ -421,10 +421,10 @@
int s;
const char *cause = NULL;
-memset(&hints, 0, sizeof(hints));
+memset(\*[Am]hints, 0, sizeof(hints));
hints.ai_family = PF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
-error = getaddrinfo("www.kame.net", "http", &hints, &res0);
+error = getaddrinfo("www.kame.net", "http", \*[Am]hints, \*[Am]res0);
if (error) {
errx(1, "%s", gai_strerror(error));
/*NOTREACHED*/
@@ -464,17 +464,17 @@
int nsock;
const char *cause = NULL;
-memset(&hints, 0, sizeof(hints));
+memset(\*[Am]hints, 0, sizeof(hints));
hints.ai_family = PF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
hints.ai_flags = AI_PASSIVE;
-error = getaddrinfo(NULL, "http", &hints, &res0);
+error = getaddrinfo(NULL, "http", \*[Am]hints, \*[Am]res0);
if (error) {
errx(1, "%s", gai_strerror(error));
/*NOTREACHED*/
}
nsock = 0;
-for (res = res0; res && nsock \*[Lt] MAXSOCK; res = res-\*[Gt]ai_next) {
+for (res = res0; res \*[Am]\*[Am] nsock \*[Lt] MAXSOCK; res = res-\*[Gt]ai_next) {
s[nsock] = socket(res-\*[Gt]ai_family, res-\*[Gt]ai_socktype,
res-\*[Gt]ai_protocol);
if (s[nsock] \*[Lt] 0) {
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/net/inet6_rthdr_space.3
--- a/lib/libc/net/inet6_rthdr_space.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/net/inet6_rthdr_space.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: inet6_rthdr_space.3,v 1.6 2002/02/07 07:00:21 ross Exp $
+.\" $NetBSD: inet6_rthdr_space.3,v 1.7 2002/02/07 09:24:06 ross Exp $
.\" $KAME: inet6_rthdr_space.3,v 1.8 2000/05/17 14:30:15 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
@@ -77,7 +77,7 @@
.It Fn inet6_rthdr_init
initialize ancillary data for Routing header
.It Fn inet6_rthdr_add
-add IPv6 address & flags to Routing header
+add IPv6 address \*[Am] flags to Routing header
.It Fn inet6_rthdr_lasthop
specify the flags for the final hop
.El
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/rpc/rpc.3
--- a/lib/libc/rpc/rpc.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/rpc/rpc.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,6 +1,6 @@
.\" @(#)rpc.3n 1.31 93/08/31 SMI; from SVr4
.\" Copyright 1989 AT&T
-.\" $NetBSD: rpc.3,v 1.13 2002/02/07 07:00:23 ross Exp $
+.\" $NetBSD: rpc.3,v 1.14 2002/02/07 09:24:06 ross Exp $
.Dd May 7, 1993
.Dt RPC 3
.Os
@@ -146,7 +146,7 @@
struct opaque_auth ah_verf;
struct auth_ops {
void (*ah_nextverf)(\|);
- int (*ah_marshal)(\|); /* nextverf & serialize */
+ int (*ah_marshal)(\|); /* nextverf \*[Am] serialize */
int (*ah_validate)(\|); /* validate verifier */
int (*ah_refresh)(\|); /* refresh credentials */
void (*ah_destroy)(\|); /* destroy this structure */
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/stdlib/getopt.3
--- a/lib/libc/stdlib/getopt.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/stdlib/getopt.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: getopt.3,v 1.21 2002/02/07 07:00:28 ross Exp $
+.\" $NetBSD: getopt.3,v 1.22 2002/02/07 09:24:06 ross Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -253,7 +253,7 @@
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
p = argv[optind - 1];
- if (p[0] == '-' && p[1] == ch && !p[2])
+ if (p[0] == '-' \*[Am]\*[Am] p[1] == ch \*[Am]\*[Am] !p[2])
length = atoi(++p);
else
length = atoi(argv[optind] + 1);
diff -r 375bf6617cee -r c03c89fefe40 lib/libc/stdlib/getopt_long.3
--- a/lib/libc/stdlib/getopt_long.3 Thu Feb 07 07:43:24 2002 +0000
+++ b/lib/libc/stdlib/getopt_long.3 Thu Feb 07 09:24:04 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: getopt_long.3,v 1.6 2002/02/07 07:00:28 ross Exp $
+.\" $NetBSD: getopt_long.3,v 1.7 2002/02/07 09:24:06 ross Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
Home |
Main Index |
Thread Index |
Old Index