diff options
Diffstat (limited to 'src/lib/libc')
| -rw-r--r-- | src/lib/libc/net/getnetent.3 | 8 | ||||
| -rw-r--r-- | src/lib/libc/net/getprotoent.3 | 8 | ||||
| -rw-r--r-- | src/lib/libc/net/getservent.3 | 6 | ||||
| -rw-r--r-- | src/lib/libc/net/resolver.3 | 10 |
4 files changed, 21 insertions, 11 deletions
diff --git a/src/lib/libc/net/getnetent.3 b/src/lib/libc/net/getnetent.3 index 7a4e9cf5ba..ddc9a8513b 100644 --- a/src/lib/libc/net/getnetent.3 +++ b/src/lib/libc/net/getnetent.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: getnetent.3,v 1.6 1999/05/16 19:55:04 alex Exp $ | 1 | .\" $OpenBSD: getnetent.3,v 1.7 1999/05/25 01:50:58 aaron Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1983, 1991, 1993 | 3 | .\" Copyright (c) 1983, 1991, 1993 |
| 4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
| @@ -44,13 +44,15 @@ | |||
| 44 | .Sh SYNOPSIS | 44 | .Sh SYNOPSIS |
| 45 | .Fd #include <netdb.h> | 45 | .Fd #include <netdb.h> |
| 46 | .Ft struct netent * | 46 | .Ft struct netent * |
| 47 | .Fn getnetent | 47 | .Fn getnetent "void" |
| 48 | .Ft struct netent * | 48 | .Ft struct netent * |
| 49 | .Fn getnetbyname "char *name" | 49 | .Fn getnetbyname "char *name" |
| 50 | .Ft struct netent * | 50 | .Ft struct netent * |
| 51 | .Fn getnetbyaddr "in_addr_t net" "int type" | 51 | .Fn getnetbyaddr "in_addr_t net" "int type" |
| 52 | .Ft void | ||
| 52 | .Fn setnetent "int stayopen" | 53 | .Fn setnetent "int stayopen" |
| 53 | .Fn endnetent | 54 | .Ft void |
| 55 | .Fn endnetent "void" | ||
| 54 | .Sh DESCRIPTION | 56 | .Sh DESCRIPTION |
| 55 | The | 57 | The |
| 56 | .Fn getnetent , | 58 | .Fn getnetent , |
diff --git a/src/lib/libc/net/getprotoent.3 b/src/lib/libc/net/getprotoent.3 index 91c49d7439..46ab239c50 100644 --- a/src/lib/libc/net/getprotoent.3 +++ b/src/lib/libc/net/getprotoent.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: getprotoent.3,v 1.3 1999/05/23 14:11:01 aaron Exp $ | 1 | .\" $OpenBSD: getprotoent.3,v 1.4 1999/05/25 01:50:58 aaron Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1983, 1991, 1993 | 3 | .\" Copyright (c) 1983, 1991, 1993 |
| 4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
| @@ -44,13 +44,15 @@ | |||
| 44 | .Sh SYNOPSIS | 44 | .Sh SYNOPSIS |
| 45 | .Fd #include <netdb.h> | 45 | .Fd #include <netdb.h> |
| 46 | .Ft struct protoent * | 46 | .Ft struct protoent * |
| 47 | .Fn getprotoent | 47 | .Fn getprotoent "void" |
| 48 | .Ft struct protoent * | 48 | .Ft struct protoent * |
| 49 | .Fn getprotobyname "char *name" | 49 | .Fn getprotobyname "char *name" |
| 50 | .Ft struct protoent * | 50 | .Ft struct protoent * |
| 51 | .Fn getprotobynumber "int proto" | 51 | .Fn getprotobynumber "int proto" |
| 52 | .Ft void | ||
| 52 | .Fn setprotoent "int stayopen" | 53 | .Fn setprotoent "int stayopen" |
| 53 | .Fn endprotoent | 54 | .Ft void |
| 55 | .Fn endprotoent "void" | ||
| 54 | .Sh DESCRIPTION | 56 | .Sh DESCRIPTION |
| 55 | The | 57 | The |
| 56 | .Fn getprotoent , | 58 | .Fn getprotoent , |
diff --git a/src/lib/libc/net/getservent.3 b/src/lib/libc/net/getservent.3 index a8a69aab42..6badd85337 100644 --- a/src/lib/libc/net/getservent.3 +++ b/src/lib/libc/net/getservent.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: getservent.3,v 1.5 1999/05/23 14:11:01 aaron Exp $ | 1 | .\" $OpenBSD: getservent.3,v 1.6 1999/05/25 01:50:58 aaron Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1983, 1991, 1993 | 3 | .\" Copyright (c) 1983, 1991, 1993 |
| 4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
| @@ -44,7 +44,7 @@ | |||
| 44 | .Sh SYNOPSIS | 44 | .Sh SYNOPSIS |
| 45 | .Fd #include <netdb.h> | 45 | .Fd #include <netdb.h> |
| 46 | .Ft struct servent * | 46 | .Ft struct servent * |
| 47 | .Fn getservent | 47 | .Fn getservent "void" |
| 48 | .Ft struct servent * | 48 | .Ft struct servent * |
| 49 | .Fn getservbyname "char *name" "char *proto" | 49 | .Fn getservbyname "char *name" "char *proto" |
| 50 | .Ft struct servent * | 50 | .Ft struct servent * |
| @@ -52,7 +52,7 @@ | |||
| 52 | .Ft void | 52 | .Ft void |
| 53 | .Fn setservent "int stayopen" | 53 | .Fn setservent "int stayopen" |
| 54 | .Ft void | 54 | .Ft void |
| 55 | .Fn endservent void | 55 | .Fn endservent "void" |
| 56 | .Sh DESCRIPTION | 56 | .Sh DESCRIPTION |
| 57 | The | 57 | The |
| 58 | .Fn getservent , | 58 | .Fn getservent , |
diff --git a/src/lib/libc/net/resolver.3 b/src/lib/libc/net/resolver.3 index 6778a6e0a8..0932c3b460 100644 --- a/src/lib/libc/net/resolver.3 +++ b/src/lib/libc/net/resolver.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: resolver.3,v 1.9 1999/05/23 14:11:02 aaron Exp $ | 1 | .\" $OpenBSD: resolver.3,v 1.10 1999/05/25 01:50:58 aaron Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 1985, 1991, 1993 | 3 | .\" Copyright (c) 1985, 1991, 1993 |
| 4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
| @@ -48,6 +48,7 @@ | |||
| 48 | .Fd #include <netinet/in.h> | 48 | .Fd #include <netinet/in.h> |
| 49 | .Fd #include <arpa/nameser.h> | 49 | .Fd #include <arpa/nameser.h> |
| 50 | .Fd #include <resolv.h> | 50 | .Fd #include <resolv.h> |
| 51 | .Ft int | ||
| 51 | .Fo res_query | 52 | .Fo res_query |
| 52 | .Fa "char *dname" | 53 | .Fa "char *dname" |
| 53 | .Fa "int class" | 54 | .Fa "int class" |
| @@ -55,6 +56,7 @@ | |||
| 55 | .Fa "u_char *answer" | 56 | .Fa "u_char *answer" |
| 56 | .Fa "int anslen" | 57 | .Fa "int anslen" |
| 57 | .Fc | 58 | .Fc |
| 59 | .Ft int | ||
| 58 | .Fo res_search | 60 | .Fo res_search |
| 59 | .Fa "char *dname" | 61 | .Fa "char *dname" |
| 60 | .Fa "int class" | 62 | .Fa "int class" |
| @@ -62,6 +64,7 @@ | |||
| 62 | .Fa "u_char *answer" | 64 | .Fa "u_char *answer" |
| 63 | .Fa "int anslen" | 65 | .Fa "int anslen" |
| 64 | .Fc | 66 | .Fc |
| 67 | .Ft int | ||
| 65 | .Fo res_mkquery | 68 | .Fo res_mkquery |
| 66 | .Fa "int op" | 69 | .Fa "int op" |
| 67 | .Fa "char *dname" | 70 | .Fa "char *dname" |
| @@ -73,13 +76,15 @@ | |||
| 73 | .Fa "char *buf" | 76 | .Fa "char *buf" |
| 74 | .Fa "int buflen" | 77 | .Fa "int buflen" |
| 75 | .Fc | 78 | .Fc |
| 79 | .Ft int | ||
| 76 | .Fo res_send | 80 | .Fo res_send |
| 77 | .Fa "char *msg" | 81 | .Fa "char *msg" |
| 78 | .Fa "int msglen" | 82 | .Fa "int msglen" |
| 79 | .Fa "char *answer" | 83 | .Fa "char *answer" |
| 80 | .Fa "int anslen" | 84 | .Fa "int anslen" |
| 81 | .Fc | 85 | .Fc |
| 82 | .Fn res_init | 86 | .Ft int |
| 87 | .Fn res_init "void" | ||
| 83 | .Fo dn_comp | 88 | .Fo dn_comp |
| 84 | .Fa "char *exp_dn" | 89 | .Fa "char *exp_dn" |
| 85 | .Fa "char *comp_dn" | 90 | .Fa "char *comp_dn" |
| @@ -87,6 +92,7 @@ | |||
| 87 | .Fa "char **dnptrs" | 92 | .Fa "char **dnptrs" |
| 88 | .Fa "char **lastdnptr" | 93 | .Fa "char **lastdnptr" |
| 89 | .Fc | 94 | .Fc |
| 95 | .Ft int | ||
| 90 | .Fo dn_expand | 96 | .Fo dn_expand |
| 91 | .Fa "u_char *msg" | 97 | .Fa "u_char *msg" |
| 92 | .Fa "u_char *eomorig" | 98 | .Fa "u_char *eomorig" |
