Commit 4ac37106 by Richard Kenner

Reformat and add some new functions for gnat1.

From-SVN: r10603
parent 4bd5b0b2
int open (const char *filename, int oflag, int pmode) int
access (const char *path, int mode)
{ {
return _open (filename, oflag, pmode); return _access (path, mode);
} }
int read (int handle, void *buffer, unsigned int count) int
chmod (const char *filename, int pmode)
{ {
return _read (handle, buffer, count); return _chmod (filename, pmode);
} }
int close (int handle) int
close (int handle)
{ {
return _close (handle); return _close (handle);
} }
int access (const char *path, int mode) char *
mktemp (char *template)
{ {
return _access (path, mode); return (char *) _mktemp (template);
} }
char *mktemp (char *template) int
open (const char *filename, int oflag, int pmode)
{ {
return (char *) _mktemp (template); return _open (filename, oflag, pmode);
}
int
read (int handle, void *buffer, unsigned int count)
{
return _read (handle, buffer, count);
}
int
unlink (const char *path)
{
return _unlink (path);
}
int
write (int handle, void *buffer, unsigned int count)
{
return _write (handle, buffer, count);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment