MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / bsdsocklib_gethostid

Function bsdsocklib_gethostid

src/bsdsocket.cpp:1224–1229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222}
1223
1224static uae_u32 REGPARAM2 bsdsocklib_gethostid (TrapContext *ctx)
1225{
1226 write_log (_T("bsdsocket: WARNING: Process %08x calls deprecated function gethostid() - returning 127.0.0.1\n"),
1227 trap_get_long(ctx, gettask(ctx) + 10));
1228 return 0x7f000001;
1229}
1230
1231static const TCHAR *errortexts[] =
1232{_T("No error"), _T("Operation not permitted"), _T("No such file or directory"),

Callers

nothing calls this directly

Calls 3

trap_get_longFunction · 0.85
gettaskFunction · 0.85
write_logFunction · 0.70

Tested by

no test coverage detected