(Interface Naming): Fix typo: IFNAMSIZE -> IFNAMSIZ
This commit is contained in:
parent
e63721a4a4
commit
acdacef901
@ -510,7 +510,7 @@ name. If no interface exists with the name given, it returns 0.
|
||||
@deftypefun {char *} if_indextoname (unsigned int ifindex, char *ifname)
|
||||
This function maps an interface index to its corresponding name. The
|
||||
returned name is placed in the buffer pointed to by @code{ifname}, which
|
||||
must be at least @code{IFNAMSIZE} bytes in length. If the index was
|
||||
must be at least @code{IFNAMSIZ} bytes in length. If the index was
|
||||
invalid, the function's return value is a null pointer, otherwise it is
|
||||
@code{ifname}.
|
||||
@end deftypefun
|
||||
|
Loading…
Reference in New Issue
Block a user