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

Function cstr

src/filesys.cpp:1611–1618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1609 return unit->tmpbuf3;
1610}
1611static TCHAR *cstr(TrapContext *ctx, Unit *unit, uaecptr addr)
1612{
1613 uae_char buf[257];
1614
1615 trap_get_string(ctx, buf, addr, sizeof buf);
1616 au_fs_copy (unit->tmpbuf3, sizeof (unit->tmpbuf3) / sizeof (TCHAR), buf);
1617 return unit->tmpbuf3;
1618}
1619
1620static TCHAR *bstr_cut(TrapContext *ctx, Unit *unit, uaecptr addr)
1621{

Callers 2

action_make_linkFunction · 0.85
action_read_linkFunction · 0.85

Calls 2

trap_get_stringFunction · 0.85
au_fs_copyFunction · 0.85

Tested by

no test coverage detected