LibC: Add getservbyname stub
This is needed by our tcl port
This commit is contained in:
parent
937250c681
commit
8857227a35
|
@ -311,3 +311,11 @@ error_close_socket:
|
|||
close(socket);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
#include <BAN/Debug.h>
|
||||
|
||||
struct servent* getservbyname(const char* name, const char* proto)
|
||||
{
|
||||
dwarnln("TODO: getservbyname(\"{}\", \"{}\")", name, proto);
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue