freeRTOS操作系统机器人实现
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

107 lines
2.6 KiB

/******************************************************************************
版权所有 (C), 2018-2099, Radkil
******************************************************************************
文 件 名 : rd_stdio.c
版 本 号 : 初稿
作 者 : Radkil
生成日期 : 2026年3月11日星期三
最近修改 :
功能描述 : 标准IO的实现
修改历史 :
1.日 期 : 2026年3月11日星期三
作 者 : Radkil
修改内容 : 创建文件
******************************************************************************/
#include "rd_stdio.h"
/*----------------------------------------------*
* 外部变量说明 *
*----------------------------------------------*/
/*----------------------------------------------*
* 外部函数原型说明 *
*----------------------------------------------*/
/*----------------------------------------------*
* 内部函数原型说明 *
*----------------------------------------------*/
/*----------------------------------------------*
* 全局变量 *
*----------------------------------------------*/
/*----------------------------------------------*
* 模块级变量 *
*----------------------------------------------*/
/*----------------------------------------------*
* 常量定义 *
*----------------------------------------------*/
/*----------------------------------------------*
* 宏定义 *
*----------------------------------------------*/
WEAK void *Rd_Fopen(const char *path, const char *mode)
{
return NULL;
}
WEAK void *Rd_Open(const char *path, int flags, mode_t mode)
{
return NULL;
}
WEAK ssize_t Rd_Mread(void *buf, size_t count, void *file)
{
return RD_FAILURE;
}
WEAK ssize_t Rd_Mwrite(const void *buf, size_t count, void *file)
{
return RD_FAILURE;
}
WEAK int Rd_Mclose(void *file)
{
return RD_FAILURE;
}
WEAK int Rd_Mseek(void *file, long offset, int whence)
{
return RD_FAILURE;
}
WEAK char *Rd_Mgets(char *buf, int size, void *file)
{
return NULL;
}
WEAK int Rd_Mputs(const char *str, void *file)
{
return RD_FAILURE;
}
WEAK long Rd_Mtell(void *file)
{
return RD_FAILURE;
}
WEAK int Rd_fflush(void *file)
{
return RD_FAILURE;
}
WEAK int Rd_remove(const char *filename)
{
return RD_FAILURE;
}
WEAK int Rd_rename(const char *oldpath, const char *newpath)
{
return RD_FAILURE;
}