Skip to content

Commit 899ccc5

Browse files
committed
Add am_pal_printf_unsafe() pal/libuv
1 parent 6c01efb commit 899ccc5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

libs/pal/libuv/pal.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,14 @@ int am_pal_printf(const char *fmt, ...) {
340340
return rc;
341341
}
342342

343+
int am_pal_printf_unsafe(const char *fmt, ...) {
344+
va_list args;
345+
va_start(args, fmt);
346+
int rc = vprintf(fmt, args);
347+
va_end(args);
348+
return rc;
349+
}
350+
343351
int am_pal_printff(const char *fmt, ...) {
344352
va_list args;
345353
va_start(args, fmt);

0 commit comments

Comments
 (0)