mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Fixed missing #include of <sys/types.h> and wrong arg types in synopsis.
Reviewed by: wollman
This commit is contained in:
parent
0f4a397771
commit
433671e348
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24047
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" From: @(#)inet.3 8.1 (Berkeley) 6/4/93
|
||||
.\" $Id$
|
||||
.\" $Id: inet.3,v 1.5 1997/02/22 15:00:15 peter Exp $
|
||||
.\"
|
||||
.Dd June 17, 1996
|
||||
.Dt INET 3
|
||||
@ -45,19 +45,20 @@
|
||||
.Nm inet_netof
|
||||
.Nd Internet address manipulation routines
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/socket.h>
|
||||
.Fd #include <netinet/in.h>
|
||||
.Fd #include <arpa/inet.h>
|
||||
.Ft int
|
||||
.Fn inet_aton "char *cp" "struct in_addr *pin"
|
||||
.Fn inet_aton "const char *cp" "struct in_addr *pin"
|
||||
.Ft unsigned long
|
||||
.Fn inet_addr "char *cp"
|
||||
.Fn inet_addr "const char *cp"
|
||||
.Ft unsigned long
|
||||
.Fn inet_network "char *cp"
|
||||
.Fn inet_network "const char *cp"
|
||||
.Ft char *
|
||||
.Fn inet_ntoa "struct in_addr in"
|
||||
.Ft struct in_addr
|
||||
.Fn inet_makeaddr "int net" "int lna"
|
||||
.Fn inet_makeaddr "unsigned long net" "unsigned long lna"
|
||||
.Ft unsigned long
|
||||
.Fn inet_lnaof "struct in_addr in"
|
||||
.Ft unsigned long
|
||||
|
Loading…
Reference in New Issue
Block a user