X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fopen.c;fp=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fopen.c;h=0000000000000000000000000000000000000000;hb=baf13261427b80f6e3aab2c7ce485ab08d31144f;hp=1d292f6e3c15892fa8e46eee4fc599994569ae8e;hpb=e0a1864c7e4dbd4d482379b1bb6fd56b5ac68617;p=pdclib diff --git a/platform/example/functions/_PDCLIB/open.c b/platform/example/functions/_PDCLIB/open.c deleted file mode 100644 index 1d292f6..0000000 --- a/platform/example/functions/_PDCLIB/open.c +++ /dev/null @@ -1,38 +0,0 @@ -/* $Id$ */ - -/* _PDCLIB_open( char const * const, int ) - - This file is part of the Public Domain C Library (PDCLib). - Permission is granted to use, modify, and / or redistribute at will. -*/ - -/* This is a stub implementation of open. -*/ - -#include -#include - -#ifndef REGTEST -#include <_PDCLIB_glue.h> - -int _PDCLIB_open( char const * const filename, unsigned int mode ) -{ - errno = ENOTSUP; - return 1; -} - -#endif - -#ifdef TEST -#include <_PDCLIB_test.h> - -#include -#include - -int main( void ) -{ - return TEST_RESULTS; -} - -#endif -