rtl.h

来自「fsmlabs的real time linux的内核」· C头文件 代码 · 共 40 行

H
40
字号
/* * RTLinux emulation * *  Copyright (C) 1999 FSM Labs (http://www.fsmlabs.com/) *  Written by Michael Barabanov <baraban@fsmlabs.com> */#ifndef __RTL_RTL_H__#define __RTL_RTL_H__/* non-POSIX stuff for RTLinux kernel and emulation */#ifdef MODULE/* we're compiling for the native RTLinux */#include <rtl_conf.h>#include <linux/module.h>int rtl_printf(const char * fmt, ...);void conpr(const char *s);#else/* user-mode emulation of the RTLinux environment */#include <stdio.h>#include <stdarg.h>static int rtl_printf(const char *fmt, ...){	va_list list;	int ret;	va_start (list, fmt);	ret = vprintf(fmt, list);	va_end (list);	return ret;}#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?