stdio.h not needed
[fw/sdcc] / support / cpp / winnt / oldnames.c
1 int
2 access (const char *path, int mode)
3 {
4   return _access (path, mode);
5 }
6
7 int
8 chmod (const char *filename, int pmode)
9 {
10   return _chmod (filename, pmode);
11 }
12
13 int
14 close (int handle)
15 {
16   return _close (handle);
17 }
18
19 char *
20 mktemp (char *template)
21 {
22    return (char *) _mktemp (template);
23 }
24
25 int
26 open (const char *filename, int oflag, int pmode)
27 {
28   return _open (filename, oflag, pmode);
29
30
31 int
32 read (int handle, void *buffer, unsigned int count)
33 {
34   return _read (handle, buffer, count);
35 }
36
37 int
38 unlink (const char *path)
39 {
40   return _unlink (path);
41 }
42
43 int
44 write (int handle, void *buffer, unsigned int count)
45 {
46   return _write (handle, buffer, count);
47 }