diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-05 21:13:18 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-05 21:13:18 +0000 |
commit | bb93359ccedae9a32facea758712506a0fe8f3d4 (patch) | |
tree | e8c47183ac65cd8ac28764b16b44538c24193d92 /lib/libc/net/getnetent.3 | |
parent | a75078b4a8609418bb7e9376e492d6ef6c57f181 (diff) |
Use in_addr_t not u_long and use in_port_t in some cases instead
of u_short or u_int16_t.
Diffstat (limited to 'lib/libc/net/getnetent.3')
-rw-r--r-- | lib/libc/net/getnetent.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3 index a3aebf43102..a33ac0fac5c 100644 --- a/lib/libc/net/getnetent.3 +++ b/lib/libc/net/getnetent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getnetent.3,v 1.3 1997/03/13 19:07:26 downsj Exp $ +.\" $OpenBSD: getnetent.3,v 1.4 1997/04/05 21:13:07 millert Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -48,7 +48,7 @@ .Ft struct netent * .Fn getnetbyname "char *name" .Ft struct netent * -.Fn getnetbyaddr "unsigned long net" "int type" +.Fn getnetbyaddr "in_addr_t net" "int type" .Fn setnetent "int stayopen" .Fn endnetent .Sh DESCRIPTION @@ -68,7 +68,7 @@ struct netent { char *n_name; /* official name of net */ char **n_aliases; /* alias list */ int n_addrtype; /* net number type */ - unsigned long n_net; /* net number */ + in_addr_t n_net; /* net number */ }; .Ed .Pp |