Consistently use 'af' as an argument name for address family.
Now both gethostbyname2(3) and gethostbyaddr(3) use the same argument name. The same argument name is also used in implementations of those functions.
This commit is contained in:
parent
c65779d460
commit
0237ec97ff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254484
@ -51,7 +51,7 @@
|
||||
.Ft struct hostent *
|
||||
.Fn gethostbyname2 "const char *name" "int af"
|
||||
.Ft struct hostent *
|
||||
.Fn gethostbyaddr "const void *addr" "socklen_t len" "int type"
|
||||
.Fn gethostbyaddr "const void *addr" "socklen_t len" "int af"
|
||||
.Ft struct hostent *
|
||||
.Fn gethostent void
|
||||
.Ft void
|
||||
@ -107,7 +107,7 @@ in binary form
|
||||
.Tn ASCII
|
||||
form).
|
||||
The
|
||||
.Fa type
|
||||
.Fa af
|
||||
argument specifies the address family
|
||||
(e.g.\&
|
||||
.Dv AF_INET , AF_INET6 ,
|
||||
|
Loading…
Reference in New Issue
Block a user