}
static HANDLE
-la_CreateFile(const char *path, DWORD dwDesiredAccess, DWORD dwShareMode,
+cpio_CreateFile(const char *path, DWORD dwDesiredAccess, DWORD dwShareMode,
LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition,
DWORD dwFlagsAndAttributes, HANDLE hTemplateFile)
{
int ret;
HANDLE handle;
- handle = la_CreateFile(name, GENERIC_READ | GENERIC_WRITE,
+ handle = cpio_CreateFile(name, GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING,
FILE_FLAG_BACKUP_SEMANTICS, NULL);
if (handle == INVALID_HANDLE_VALUE) {
}
int
-la_chdir(const char *path)
+cpio_chdir(const char *path)
{
wchar_t *ws;
int r;
}
int
-la_open(const char *path, int flags, ...)
+cpio_open(const char *path, int flags, ...)
{
va_list ap;
wchar_t *ws;
}
ssize_t
-la_read(int fd, void *buf, size_t nbytes)
+cpio_read(int fd, void *buf, size_t nbytes)
{
HANDLE handle;
DWORD bytes_read, lasterr;
}
ssize_t
-la_write(int fd, const void *buf, size_t nbytes)
+cpio_write(int fd, const void *buf, size_t nbytes)
{
DWORD bytes_written;