X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fclose.c;fp=platform%2Fexample%2Ffunctions%2F_PDCLIB%2Fclose.c;h=0000000000000000000000000000000000000000;hb=baf13261427b80f6e3aab2c7ce485ab08d31144f;hp=1b030c963e8bb058f1643b1934ce4aea67c70fe1;hpb=e0a1864c7e4dbd4d482379b1bb6fd56b5ac68617;p=pdclib diff --git a/platform/example/functions/_PDCLIB/close.c b/platform/example/functions/_PDCLIB/close.c deleted file mode 100644 index 1b030c9..0000000 --- a/platform/example/functions/_PDCLIB/close.c +++ /dev/null @@ -1,35 +0,0 @@ -/* $Id$ */ - -/* _PDCLIB_close( _PDCLIB_fd_t fd ) - - 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 example implementation of _PDCLIB_close() -*/ - -#include - -#ifndef REGTEST -#include <_PDCLIB_glue.h> -#include - -int _PDCLIB_close( int fd ) -{ - errno = ENOTSUP; - return 1; -} - -#endif - -#ifdef TEST -#include <_PDCLIB_test.h> - -int main( void ) -{ - /* No testdriver; tested in driver for _PDCLIB_open(). */ - return TEST_RESULTS; -} - -#endif