1 // SPDX-License-Identifier: BSD-2-Clause 2 /* 3 * Copyright (c) 2020, Huawei Technologies Co., Ltd 4 */ 5 6 #include <stdio.h> 7 #include <stdlib.h> 8 #include <trace.h> 9 fputs(const char * s,FILE * stream)10int fputs(const char *s, FILE *stream) 11 { 12 if (stream != stdout && stream != stderr) 13 abort(); 14 15 trace_ext_puts(s); 16 return 0; 17 } 18