(Interface Naming): Fix typo: IFNAMSIZE -> IFNAMSIZ

This commit is contained in:
Roland McGrath 2000-03-24 19:11:18 +00:00
parent e63721a4a4
commit acdacef901
1 changed files with 1 additions and 1 deletions

View File

@ -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) @deftypefun {char *} if_indextoname (unsigned int ifindex, char *ifname)
This function maps an interface index to its corresponding name. The This function maps an interface index to its corresponding name. The
returned name is placed in the buffer pointed to by @code{ifname}, which 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 invalid, the function's return value is a null pointer, otherwise it is
@code{ifname}. @code{ifname}.
@end deftypefun @end deftypefun