]> pd.if.org Git - pdclib/blobdiff - platform/example/functions/_PDCLIB/_PDCLIB_open.c
dos2unix
[pdclib] / platform / example / functions / _PDCLIB / _PDCLIB_open.c
index 686ea4ba3d9f2a7102b7c8f585d4ed7ec7db2593..117d149c767468db8a8103c55f55e9cbb23d649a 100644 (file)
@@ -1,37 +1,37 @@
-/* _PDCLIB_open( char const * const, int )\r
-\r
-   This file is part of the Public Domain C Library (PDCLib).\r
-   Permission is granted to use, modify, and / or redistribute at will.\r
-*/\r
-\r
-/* This is a stub implementation of open.\r
-*/\r
-\r
-#include <stdio.h>\r
-#include <errno.h>\r
-\r
-#ifndef REGTEST\r
-#include "_PDCLIB_glue.h"\r
-\r
-bool _PDCLIB_open( _PDCLIB_fd_t * pFd, const _PDCLIB_fileops_t ** pOps,\r
-                   char const * const filename, unsigned int mode )\r
-{\r
-    errno = ENOTSUP;\r
-    return false;\r
-}\r
-\r
-#endif\r
-\r
-#ifdef TEST\r
-#include "_PDCLIB_test.h"\r
-\r
-#include <stdlib.h>\r
-#include <string.h>\r
-\r
-int main( void )\r
-{\r
-    return TEST_RESULTS;\r
-}\r
-\r
-#endif\r
-\r
+/* _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 <stdio.h>
+#include <errno.h>
+
+#ifndef REGTEST
+#include "_PDCLIB_glue.h"
+
+bool _PDCLIB_open( _PDCLIB_fd_t * pFd, const _PDCLIB_fileops_t ** pOps,
+                   char const * const filename, unsigned int mode )
+{
+    errno = ENOTSUP;
+    return false;
+}
+
+#endif
+
+#ifdef TEST
+#include "_PDCLIB_test.h"
+
+#include <stdlib.h>
+#include <string.h>
+
+int main( void )
+{
+    return TEST_RESULTS;
+}
+
+#endif
+