MCPcopy Create free account
hub / github.com/buke/quickjs-go / js_std_file_printf

Function js_std_file_printf

deps/quickjs/quickjs-libc.c:1454–1461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1452}
1453
1454static JSValue js_std_file_printf(JSContext *ctx, JSValueConst this_val,
1455 int argc, JSValueConst *argv)
1456{
1457 FILE *f = js_std_file_get(ctx, this_val);
1458 if (!f)
1459 return JS_EXCEPTION;
1460 return js_printf_internal(ctx, argc, argv, f);
1461}
1462
1463static JSValue js_std_file_flush(JSContext *ctx, JSValueConst this_val,
1464 int argc, JSValueConst *argv)

Callers

nothing calls this directly

Calls 2

js_std_file_getFunction · 0.85
js_printf_internalFunction · 0.85

Tested by

no test coverage detected