wut/libraries/wutsocket/stubs.c
GaryOderNichts 2c98cc91aa
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
Run clang-format
`find . -regex '.*\.\(cpp\|hpp\|cu\|cuh\|c\|h\)' -exec clang-format -style=file -i {} \;`
2025-06-05 11:06:04 +01:00

37 lines
539 B
C

#include "wut_socket.h"
#include <netdb.h>
struct servent *
getservbyname(const char *name,
const char *proto)
{
h_errno = NO_RECOVERY;
errno = ENOSYS;
return NULL;
}
struct servent *
getservbyport(int port,
const char *proto)
{
h_errno = NO_RECOVERY;
errno = ENOSYS;
return NULL;
}
struct servent *
getservent(void)
{
h_errno = NO_RECOVERY;
errno = ENOSYS;
return NULL;
}
struct hostent *
gethostent(void)
{
h_errno = NO_RECOVERY;
errno = ENOSYS;
return NULL;
}