summaryrefslogtreecommitdiff
path: root/src/lib/libc/net
diff options
context:
space:
mode:
authorschwarze <>2014-04-07 17:57:56 +0000
committerschwarze <>2014-04-07 17:57:56 +0000
commitfa13c5324eed9868f142f97ff49f21d410dbcf23 (patch)
tree993b58d04d16a98a7f81765ca5e56600c5d43c0b /src/lib/libc/net
parent31bb27668e0896d39f1d032d6363708dda0d3566 (diff)
downloadopenbsd-fa13c5324eed9868f142f97ff49f21d410dbcf23.tar.gz
openbsd-fa13c5324eed9868f142f97ff49f21d410dbcf23.tar.bz2
openbsd-fa13c5324eed9868f142f97ff49f21d410dbcf23.zip
Add some missing names to the NAME sections.
For inet(3), go the other way, remove some bogus symlinks. Found while testing the new makewhatis(8). ok jmc@
Diffstat (limited to 'src/lib/libc/net')
-rw-r--r--src/lib/libc/net/Makefile.inc8
-rw-r--r--src/lib/libc/net/getifaddrs.37
2 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/libc/net/Makefile.inc b/src/lib/libc/net/Makefile.inc
index 580df4444a..f4153bbfb4 100644
--- a/src/lib/libc/net/Makefile.inc
+++ b/src/lib/libc/net/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.50 2013/12/17 16:34:05 deraadt Exp $ 1# $OpenBSD: Makefile.inc,v 1.51 2014/04/07 17:57:56 schwarze Exp $
2 2
3# net sources 3# net sources
4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/net ${LIBCSRCDIR}/net 4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/net ${LIBCSRCDIR}/net
@@ -61,10 +61,10 @@ MLINKS+=getservent.3 endservent.3 getservent.3 getservbyname.3 \
61 getservent.3 endservent_r.3 61 getservent.3 endservent_r.3
62MLINKS+= if_indextoname.3 if_nametoindex.3 if_indextoname.3 if_nameindex.3 \ 62MLINKS+= if_indextoname.3 if_nametoindex.3 if_indextoname.3 if_nameindex.3 \
63 if_indextoname.3 if_freenameindex.3 63 if_indextoname.3 if_freenameindex.3
64MLINKS+=inet.3 addr.3 inet.3 inet_addr.3 inet.3 inet_aton.3 \ 64MLINKS+=inet.3 inet_addr.3 inet.3 inet_aton.3 \
65 inet.3 inet_lnaof.3 inet.3 inet_makeaddr.3 inet.3 inet_netof.3 \ 65 inet.3 inet_lnaof.3 inet.3 inet_makeaddr.3 inet.3 inet_netof.3 \
66 inet.3 inet_network.3 inet.3 inet_ntoa.3 inet.3 network.3 \ 66 inet.3 inet_network.3 inet.3 inet_ntoa.3 \
67 inet.3 ntoa.3 inet.3 inet_ntop.3 inet.3 inet_pton.3 67 inet.3 inet_ntop.3 inet.3 inet_pton.3
68MLINKS+=inet_net.3 inet_net_ntop.3 inet_net.3 inet_net_pton.3 68MLINKS+=inet_net.3 inet_net_ntop.3 inet_net.3 inet_net_pton.3
69MLINKS+=link_addr.3 link_ntoa.3 69MLINKS+=link_addr.3 link_ntoa.3
70MLINKS+=rcmd.3 iruserok.3 rcmd.3 rresvport.3 rcmd.3 ruserok.3 \ 70MLINKS+=rcmd.3 iruserok.3 rcmd.3 rresvport.3 rcmd.3 ruserok.3 \
diff --git a/src/lib/libc/net/getifaddrs.3 b/src/lib/libc/net/getifaddrs.3
index c5aab48b20..0b3538302a 100644
--- a/src/lib/libc/net/getifaddrs.3
+++ b/src/lib/libc/net/getifaddrs.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getifaddrs.3,v 1.18 2014/01/21 03:15:45 schwarze Exp $ 1.\" $OpenBSD: getifaddrs.3,v 1.19 2014/04/07 17:57:56 schwarze Exp $
2.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp 2.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
3.\" 3.\"
4.\" Copyright (c) 1995, 1999 4.\" Copyright (c) 1995, 1999
@@ -21,11 +21,12 @@
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE. 23.\" SUCH DAMAGE.
24.Dd $Mdocdate: January 21 2014 $ 24.Dd $Mdocdate: April 7 2014 $
25.Dt GETIFADDRS 3 25.Dt GETIFADDRS 3
26.Os 26.Os
27.Sh NAME 27.Sh NAME
28.Nm getifaddrs 28.Nm getifaddrs ,
29.Nm freeifaddrs
29.Nd get interface addresses 30.Nd get interface addresses
30.Sh SYNOPSIS 31.Sh SYNOPSIS
31.In sys/types.h 32.In sys/types.h