cosmopolitan/libc/isystem/ifaddrs.h
Justine Tunney 024be3b009
Introduce getifaddrs()
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
2023-11-02 08:33:03 -07:00

5 lines
93 B
C

#ifndef _IFADDRS_H
#define _IFADDRS_H
#include "libc/sock/ifaddrs.h"
#endif /* _IFADDRS_H */