don't check auth. bit on NXDOMAIN/noanswer (ready for neg. caching);
[unix-history] / usr / src / lib / libc / net / inet.3
index 59cd598..eecdad3 100644 (file)
@@ -2,7 +2,7 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)inet.3      6.1 (Berkeley) %G%
+.\"    @(#)inet.3      6.6 (Berkeley) %G%
 .\"
 .TH INET 3N ""
 .UC 5
 .\"
 .TH INET 3N ""
 .UC 5
@@ -17,7 +17,7 @@ inet_addr, inet_network, inet_ntoa, inet_makeaddr, inet_lnaof, inet_netof \- Int
 .B "unsigned long inet_addr(cp)
 .B "char *cp;
 .PP
 .B "unsigned long inet_addr(cp)
 .B "char *cp;
 .PP
-.B "int inet_network(cp)
+.B "unsigned long inet_network(cp)
 .B "char *cp;
 .PP
 .B "char *inet_ntoa(in)
 .B "char *cp;
 .PP
 .B "char *inet_ntoa(in)
@@ -26,10 +26,10 @@ inet_addr, inet_network, inet_ntoa, inet_makeaddr, inet_lnaof, inet_netof \- Int
 .B "struct in_addr inet_makeaddr(net, lna)
 .B "int net, lna;
 .PP
 .B "struct in_addr inet_makeaddr(net, lna)
 .B "int net, lna;
 .PP
-.B "int inet_lnaof(in)
+.B "unsigned long inet_lnaof(in)
 .B "struct in_addr in;
 .PP
 .B "struct in_addr in;
 .PP
-.B "int inet_netof(in)
+.B "unsigned long inet_netof(in)
 .B "struct in_addr in;
 .fi
 .SH DESCRIPTION
 .B "struct in_addr in;
 .fi
 .SH DESCRIPTION
@@ -100,13 +100,13 @@ rearrangement.
 .PP
 All numbers supplied as \*(lqparts\*(rq in a \*(lq.\*(rq notation
 may be decimal, octal, or hexadecimal, as specified
 .PP
 All numbers supplied as \*(lqparts\*(rq in a \*(lq.\*(rq notation
 may be decimal, octal, or hexadecimal, as specified
-in the C language (i.e. a leading 0x or 0X implies
+in the C language (i.e., a leading 0x or 0X implies
 hexadecimal; otherwise, a leading 0 implies octal;
 otherwise, the number is interpreted as decimal).
 .SH "SEE ALSO"
 hexadecimal; otherwise, a leading 0 implies octal;
 otherwise, the number is interpreted as decimal).
 .SH "SEE ALSO"
-gethostent(3N), getnetent(3N), hosts(5), networks(5),
+gethostbyname(3N), getnetent(3N), hosts(5), networks(5),
 .SH DIAGNOSTICS
 .SH DIAGNOSTICS
-The value \-1 is returned by
+The constant \fBINADDR_NONE\fP is returned by
 .I inet_addr
 and
 .I inet_network
 .I inet_addr
 and
 .I inet_network