source: azure_iot_hub/trunk/musl-1.1.18/src/stdio/rename.c@ 389

Last change on this file since 389 was 389, checked in by coas-nagasima, 5 years ago

ビルドが通るよう更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 240 bytes
Line 
1#include <stdio.h>
2#include <fcntl.h>
3#include "syscall.h"
4
5int rename(const char *old, const char *new)
6{
7#ifdef SYS_rename
8 return syscall(SYS_rename, old, new);
9#else
10 return syscall(SYS_renameat, AT_FDCWD, old, AT_FDCWD, new);
11#endif
12}
Note: See TracBrowser for help on using the repository browser.