MCPcopy Create free account
hub / github.com/F-Stack/f-stack / test_cb_to_buf

Function test_cb_to_buf

freebsd/contrib/xz-embedded/userspace/boottest.c:71–78  ·  view source on GitHub ↗

* Not used by Linux <= 2.6.37-rc4 and newer probably won't use it either, * but this kind of use case is still required to be supported by the API. */

Source from the content-addressed store, hash-verified

69 * but this kind of use case is still required to be supported by the API.
70 */
71static void test_cb_to_buf(void)
72{
73 int in_used;
74 int ret;
75 ret = decompress(in, 0, &fill, NULL, out, &in_used, &error);
76 /* fwrite(out, 1, FIXME, stdout); */
77 fprintf(stderr, "ret = %d; in_used = %d\n", ret, in_used);
78}
79
80int main(int argc, char **argv)
81{

Callers 1

mainFunction · 0.85

Calls 1

decompressFunction · 0.50

Tested by

no test coverage detected