rename.c

来自「德州仪器(TI) 的超低功耗16 位RISC 混合信号处理器的MSP430 平台」· C语言 代码 · 共 30 行

C
30
字号
/*******************
 *
 * Copyright 1998-1999 IAR Systems. All rights reserved.
 *
 * $Revision: 1.6 $
 *
 * This is a template implementation of the "rename" function of the
 * standard library.  Replace it with a system-specific
 * implementation.
 *
 * The "rename" function should rename file from "old" to "new".  It
 * should return 0 on success and nonzero on failure.
 *
 ********************/

#include <stdio.h>

_STD_BEGIN

#pragma module_name = "?rename"

#pragma diag_suppress = Pe826

int rename(const char *old, const char *new)
{
  return (-1);
}

_STD_END

⌨️ 快捷键说明

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