aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/winnt/oldnames.c
blob: b7a1779b507157559dadda29098f1d03fbb48fc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
int
access (const char *path, int mode)
{
  return _access (path, mode);
}

int
chmod (const char *filename, int pmode)
{
  return _chmod (filename, pmode);
}

int
close (int handle)
{
  return _close (handle);
}

char *
mktemp (char *template)
{
   return (char *) _mktemp (template);
}

int
open (const char *filename, int oflag, int pmode)
{
  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);
}