X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fwin32%2Ffunctions%2F_PDCLIB%2F_PDCLIB_rename.c;fp=platform%2Fwin32%2Ffunctions%2F_PDCLIB%2F_PDCLIB_rename.c;h=a65715dfc4f9dd591b43e0dd5e380024cdf92bfb;hb=950d2e48042173a75188b0a2dbe219ed91ff47cf;hp=0000000000000000000000000000000000000000;hpb=10f020f1a39804bbef8cd1cf35ef7c9a8e75c7d6;p=pdclib.old diff --git a/platform/win32/functions/_PDCLIB/_PDCLIB_rename.c b/platform/win32/functions/_PDCLIB/_PDCLIB_rename.c new file mode 100644 index 0000000..a65715d --- /dev/null +++ b/platform/win32/functions/_PDCLIB/_PDCLIB_rename.c @@ -0,0 +1,32 @@ +/* $Id$ */ + +/* _PDCLIB_rename( const char *, const char * ) + + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +#include + +#ifndef REGTEST +#include <_PDCLIB_glue.h> +#include + +int _PDCLIB_rename( const char * old, const char * new ) +{ + errno = ENOTSUP; +} + +#endif + +#ifdef TEST +#include <_PDCLIB_test.h> + +#include + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif