Only name <netdb.h> in the synopsis, like the old manual page used to.

This commit is contained in:
kleink 2005-03-21 13:35:04 +00:00
parent 53b42c4e52
commit 172675479e
2 changed files with 4 additions and 8 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getaddrinfo.3,v 1.42 2005/03/21 13:30:50 kleink Exp $
.\" $NetBSD: getaddrinfo.3,v 1.43 2005/03/21 13:35:04 kleink Exp $
.\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $
.\" $OpenBSD: getaddrinfo.3,v 1.35 2004/12/21 03:40:31 jaredy Exp $
.\"
@ -17,7 +17,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd December 20, 2004
.Dd March 21, 2005
.Dt GETADDRINFO 3
.Os
.Sh NAME
@ -25,8 +25,6 @@
.Nm freeaddrinfo
.Nd host and service name to socket address structure
.Sh SYNOPSIS
.In sys/types.h
.In sys/socket.h
.In netdb.h
.Ft int
.Fn getaddrinfo "const char * restrict hostname" \

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getnameinfo.3,v 1.35 2005/03/21 13:30:50 kleink Exp $
.\" $NetBSD: getnameinfo.3,v 1.36 2005/03/21 13:35:04 kleink Exp $
.\" $KAME: getnameinfo.3,v 1.37 2005/01/05 03:23:05 itojun Exp $
.\" $OpenBSD: getnameinfo.3,v 1.36 2004/12/21 09:48:20 jmc Exp $
.\"
@ -17,15 +17,13 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd December 20, 2004
.Dd March 21, 2005
.Dt GETNAMEINFO 3
.Os
.Sh NAME
.Nm getnameinfo
.Nd socket address structure to hostname and service name
.Sh SYNOPSIS
.In sys/types.h
.In sys/socket.h
.In netdb.h
.Ft int
.Fn getnameinfo "const struct sockaddr * restrict sa" "socklen_t salen" \