log.c
来自「RT-Thread是发展中的下一代微内核嵌入式实时操作系统」· C语言 代码 · 共 36 行
C
36 行
/* * File : thread_ipc.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006, RT-Thread Development Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.fayfayspace.org/license/LICENSE. * * Change Logs: * Date Author Notes * 2006-7-23 Bernard the first draft *//** * @addtogroup microkernel *//*@{*//** * @brief put a string on system log * * This function is a systemcall for RT-Thread, and will put a string on system * log. * * @return the length of log string. */rt_int32 _rtt_syslog(const char* str){ rt_kprintf("%s", str); return rt_strlen(str);}/*@}*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?