ladybird/Userland/Libraries/LibC/ifaddrs.cpp

18 lines
272 B
C++

/*
* Copyright (c) 2021, Idan Horowitz <idan.horowitz@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <errno.h>
#include <ifaddrs.h>
int getifaddrs(struct ifaddrs**)
{
errno = ENOSYS;
return -1;
}
void freeifaddrs(struct ifaddrs*)
{
}