Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/waterbox/libc/functions/_PDCLIB/rename.c
2 views
1
/* _PDCLIB_rename( const char *, const char * )
2
3
This file is part of the Public Domain C Library (PDCLib).
4
Permission is granted to use, modify, and / or redistribute at will.
5
*/
6
7
#include <stdio.h>
8
9
#ifndef REGTEST
10
#include "_PDCLIB_glue.h"
11
#include <errno.h>
12
13
int _PDCLIB_rename( const char * old, const char * new )
14
{
15
errno = ENOTSUP;
16
return -1;
17
}
18
19
#endif
20
21
#ifdef TEST
22
#include "_PDCLIB_test.h"
23
24
#include <stdlib.h>
25
26
int main( void )
27
{
28
return TEST_RESULTS;
29
}
30
31
#endif
32
33