From owner-freebsd-doc@FreeBSD.ORG Wed Sep 29 16:09:23 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D9D116A4CE for ; Wed, 29 Sep 2004 16:09:23 +0000 (GMT) Received: from mail.secureworks.net (mail.secureworks.net [209.101.212.155]) by mx1.FreeBSD.org (Postfix) with SMTP id EFA9A43D53 for ; Wed, 29 Sep 2004 16:09:22 +0000 (GMT) (envelope-from mdg@secureworks.net) Received: (qmail 9070 invoked from network); 29 Sep 2004 16:09:21 -0000 Received: from unknown (HELO HOST-192-168-8-243.internal.secureworks.net) (63.239.86.253) by mail.secureworks.net with SMTP; 29 Sep 2004 16:09:21 -0000 Date: Wed, 29 Sep 2004 12:09:21 -0400 (EDT) From: Matthew George X-X-Sender: mdg@localhost To: doc@freebsd.org Message-ID: <20040929120608.D20232@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: addr2ascii(3) needs sys/socket.h? X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2004 16:09:23 -0000 AF_INET or AF_LINK should be passed as the first arg to addr2ascii(3) and ascii2addr(3). These are defined in sys/socket.h, but that is omitted in the include section of the manpage. should I send-pr this? --- lib/libc/net/addr2ascii.3.orig Wed Sep 29 12:04:57 2004 +++ lib/libc/net/addr2ascii.3 Wed Sep 29 12:05:39 2004 @@ -42,6 +42,7 @@ .In sys/types.h .In netinet/in.h .In arpa/inet.h +.In sys/socket.h .Ft "char *" .Fn addr2ascii "int af" "const void *addrp" "int len" "char *buf" .Ft int -- Matthew George SecureWorks Technical Operations