blob: 8bda6554863690f11172376a3644efaa64269706 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <unixio.h>
/* UNIX-like file deletion, deletes previous VMS file versions so UNIX
style locking through files dosen't lose. */
int unlink(char *path)
{
int rs, junk_rs;
rs = remove(path);
while(remove(path) >= 0);
return rs;
}
int link(char *from, char *to)
{
int rs = -1;
/* Link always fails */
return rs;
}
|