-/* $Id$ */
-
/* OS glue functions declaration <_PDCLIB_glue.h>
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
-#ifndef _PDCLIB_INT_H
-#define _PDCLIB_INT_H _PDCLIB_INT_H
-#include <_PDCLIB_int.h>
-#endif
+#ifndef _PDCLIB_GLUE_H
+#define _PDCLIB_GLUE_H _PDCLIB_GLUE_H
+
+#include "_PDCLIB_int.h"
/* -------------------------------------------------------------------------- */
/* OS "glue", part 2 */
/* stdio.h */
-/* A system call that opens a file identified by name in a given mode. Return
+/* A system call that opens a file identified by name in a given mode. Return
a file descriptor uniquely identifying that file.
(The mode is the return value of the _PDCLIB_filemode() function.)
*/
*/
int _PDCLIB_close( _PDCLIB_fd_t fd );
-/* A system call that removes a file identified by name. Return zero on success,
- non-zero otherwise.
-*/
-int _PDCLIB_remove( const char * filename );
-
/* A system call that renames a file from given old name to given new name.
Return zero on success, non-zero otherwise. In case of failure, the file
must still be accessible by old name. Any handling of open files etc. is
*/
int _PDCLIB_rename( const char * old, const char * new );
+#endif