X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fposix%2Ffunctions%2F_PDCLIB%2Fclose.c;fp=platform%2Fposix%2Ffunctions%2F_PDCLIB%2Fclose.c;h=0000000000000000000000000000000000000000;hb=1aba8d4e33b2a020709f81182709c7de7a728c76;hp=c4b61738794444b55c1a5e387c6c7bf5315c68b0;hpb=f473bc71fc1f79bf2ef549c768852c6216784e23;p=pdclib diff --git a/platform/posix/functions/_PDCLIB/close.c b/platform/posix/functions/_PDCLIB/close.c deleted file mode 100644 index c4b6173..0000000 --- a/platform/posix/functions/_PDCLIB/close.c +++ /dev/null @@ -1,36 +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 an example implementation of _PDCLIB_close() fit for use with POSIX - kernels. -*/ - -#include - -#ifndef REGTEST -#include <_PDCLIB_glue.h> - -extern int close( int fd ); - -int _PDCLIB_close( int fd ) -{ - return close( fd ); -} - -#endif - -#ifdef TEST -#include <_PDCLIB_test.h> - -int main( void ) -{ - /* No testdriver; tested in driver for _PDCLIB_open(). */ - return TEST_RESULTS; -} - -#endif