]> pd.if.org Git - pdclib.old/blobdiff - platform/example/functions/_PDCLIB/read.c
Merged branch stdio_rewrite back into trunk.
[pdclib.old] / platform / example / functions / _PDCLIB / read.c
diff --git a/platform/example/functions/_PDCLIB/read.c b/platform/example/functions/_PDCLIB/read.c
deleted file mode 100644 (file)
index 2e35cea..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/* $Id$ */
-
-/* _PDCLIB_read( _PDCLIB_fd_t, char *, _PDCLIB_size_t )
-
-   This file is part of the Public Domain C Library (PDCLib).
-   Permission is granted to use, modify, and / or redistribute at will.
-*/
-
-#include <_PDCLIB_glue.h>
-
-#ifndef REGTEST
-
-int read(int, void *, unsigned int);
-
-_PDCLIB_size_t _PDCLIB_read( int fd, char * buffer, _PDCLIB_size_t n )
-{
-    /* FIXME: Might return value < n, might return -1 on error */
-    return read( fd, buffer, n );
-}
-
-#endif
-
-#ifdef TEST
-#include <_PDCLIB_test.h>
-
-int main( void )
-{
-    TESTCASE( NO_TESTDRIVER );
-    return TEST_RESULTS;
-}
-
-#endif