Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (3391 KB)
net_getifname(9F)Name | Synopsis | Interface Level | Parameters | Description | Return Values | Context | Attributes | See Also Name
Synopsis#include <sys/neti.h>
int net_getifname(const net_data_t net, const phy_if_t ifp,
char *buffer, size_t buflen);
Interface LevelSolaris DDI specific (Solaris DDI). Parameters
DescriptionThe net_getifname() function copies the name of the network interface into the buffer provided. The name will always be null-terminated. If the buffer is too small to fit both the interface name and the null-terminated name, the name in the buffer is truncated to fit. See net_phygetnext(9F) for an example on how to use this function. Return Values
The net_getifname() function returns: ContextThe net_getifname() function may be called from user, kernel, or interrupt context. AttributesSee attributes(5) for descriptions of the following attributes:
See AlsoSunOS 5.10 Last Revised 1 May 2008Name | Synopsis | Interface Level | Parameters | Description | Return Values | Context | Attributes | See Also |
||||||