MCPcopy Create free account
hub / github.com/GJDuck/e9patch / test_memcpy_3

Function test_memcpy_3

test/regtest/patch.cpp:716–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714 char y[6];
715};
716void test_memcpy_3(void)
717{
718 const char *xxx = "XXXXXX";
719 struct TMP2 tmp;
720 memcpy((void *)tmp.x, xxx, 6);
721 tmp.c = 'Y';
722 memcpy((void *)tmp.y, xxx, 6);
723 fwrite(&tmp, sizeof(tmp), 1, stderr);
724}
725
726void test_fread(void)
727{

Callers

nothing calls this directly

Calls 2

memcpyFunction · 0.85
fwriteFunction · 0.85

Tested by

no test coverage detected