Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

core.sys.linux.ifaddrs

D binding for the interface addresses querying
Defines functions getifaddrs/freeifaddrs and the structure they operate on.
getifaddrs(3) get interface addresses freeifaddrs(3) deallocates the structure returned from getifaddrs
Authors:
Nemanja Boric
nothrow @nogc int getifaddrs(ifaddrs**);
Returns:
linked list of ifaddrs structures describing interfaces
nothrow @nogc void freeifaddrs(ifaddrs*);
Frees the linked list returned by getifaddrs