LibC: Add getservbyname stub

This is needed by our tcl port
This commit is contained in:
Bananymous 2025-08-07 01:15:32 +03:00
parent 937250c681
commit 8857227a35
1 changed files with 8 additions and 0 deletions

View File

@ -311,3 +311,11 @@ error_close_socket:
close(socket); close(socket);
return nullptr; return nullptr;
} }
#include <BAN/Debug.h>
struct servent* getservbyname(const char* name, const char* proto)
{
dwarnln("TODO: getservbyname(\"{}\", \"{}\")", name, proto);
return nullptr;
}