mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
024be3b009
This function was invented by the BSDs (it's not in POSIX.1). It provides a high-level interface into ioctl(SIOCGIFCONF) which is comparatively clumsy to use. We already made the ioctls portable across our entire support vector back in 2021, so this interface is portable too. See o//tool/viz/getifaddrs.com for our demo app
4 lines
93 B
C
4 lines
93 B
C
#ifndef _IFADDRS_H
|
|
#define _IFADDRS_H
|
|
#include "libc/sock/ifaddrs.h"
|
|
#endif /* _IFADDRS_H */
|