mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 07:25:26 +08:00
tests: Add locked_printf_plugin()
Add locked_vprintf(). Return an int just like printf(), etc.
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
#ifndef __TEST_SUPPORT_h
|
||||
#define __TEST_SUPPORT_h
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -65,9 +67,16 @@ void rtems_time_test_measure_operation(
|
||||
/************** TEST SUPPORT **************/
|
||||
/*********************************************************************/
|
||||
/*********************************************************************/
|
||||
extern void locked_print_initialize(void);
|
||||
extern void locked_printf(const char *fmt, ...);
|
||||
extern void locked_printk(const char *fmt, ...);
|
||||
|
||||
void locked_print_initialize(void);
|
||||
|
||||
int locked_printf(const char *fmt, ...);
|
||||
|
||||
int locked_vprintf(const char *fmt, va_list ap);
|
||||
|
||||
int locked_printf_plugin(void *context, const char *fmt, ...);
|
||||
|
||||
void locked_printk(const char *fmt, ...);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user