]> pd.if.org Git - pdclib/blob - platform/example/functions/_PDCLIB/rename.c
[gandr]: seekf: pass newPos, not &newPos to gd_seek, because newPos is already a...
[pdclib] / platform / example / functions / _PDCLIB / rename.c
1 /* $Id$ */
2
3 /* _PDCLIB_rename( const char *, const char * )
4
5    This file is part of the Public Domain C Library (PDCLib).
6    Permission is granted to use, modify, and / or redistribute at will.
7 */
8
9 #include <stdio.h>
10
11 #ifndef REGTEST
12 #include <_PDCLIB_glue.h>
13 #include <errno.h>
14
15 int _PDCLIB_rename( const char * old, const char * new )
16 {
17     errno = ENOTSUP;
18 }
19
20 #endif
21
22 #ifdef TEST
23 #include <_PDCLIB_test.h>
24
25 #include <stdlib.h>
26
27 int main( void )
28 {
29     return TEST_RESULTS;
30 }
31
32 #endif