.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
.\" 386BSD man pages
.\" Modified Sat Jul 24 21:48:06 1993 by Rik Faith (faith@cs.unc.edu)
-.TH GETNETENT 3 2008-08-13 "GNU" "Linux Programmer's Manual"
+.TH GETNETENT 3 2008-08-20 "GNU" "Linux Programmer's Manual"
.SH NAME
getnetent, getnetbyname, getnetbyaddr, setnetent, endnetent \-
get network entry
.sp
.BI "struct netent *getnetbyname(const char *" name );
.sp
-.BI "struct netent *getnetbyaddr(long " net ", int " type );
+.BI "struct netent *getnetbyaddr(uint32_t " net ", int " type );
.sp
.BI "void setnetent(int " stayopen );
.sp
networks database file
.SH "CONFORMING TO"
4.3BSD, POSIX.1-2001.
+.SH NOTES
+In glibc versions before 2.2, the
+.I net
+argument of
+.BR getnetbyaddr ()
+was of type
+.IR long .
.SH "SEE ALSO"
.BR getprotoent (3),
.BR getservent (3)