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=af55dc64b9118345203e7ba7bd262e6444573795;hp=1b030c963e8bb058f1643b1934ce4aea67c70fe1;hpb=77e0f19332a2b4e64d48ecb48557ea7aefa2cc61;p=pdclib.old 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