blob: 67dfbc6ce947cf75686cb289d17f1d137a450ae1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <bits/ensure.h>
#include <mlibc/debug.hpp>
#include <ifaddrs.h>
#include <errno.h>
int getifaddrs(struct ifaddrs **) {
mlibc::infoLogger() << "mlibc: getifaddrs fails unconditionally!" << frg::endlog;
errno = ENOSYS;
return -1;
}
void freeifaddrs(struct ifaddrs *) {
mlibc::infoLogger() << "mlibc: freeifaddrs is a stub!" << frg::endlog;
return;
}
|