aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/drivers
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-11-27 17:33:19 +0100
committerLukas Larsson <[email protected]>2011-12-02 10:39:38 +0100
commit27faa34693f35b6aa41fa67cbfe365bd082a5757 (patch)
treedd1f2c1fa2e271ff2b68ea1151d1a072a51f356e /erts/emulator/drivers
parent758fab8895755b22ce02f0a6026d4d286c8a9c5a (diff)
downloadotp-27faa34693f35b6aa41fa67cbfe365bd082a5757.tar.gz
otp-27faa34693f35b6aa41fa67cbfe365bd082a5757.tar.bz2
otp-27faa34693f35b6aa41fa67cbfe365bd082a5757.zip
Remove windows implementation
Diffstat (limited to 'erts/emulator/drivers')
-rw-r--r--erts/emulator/drivers/win32/win_efile.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/erts/emulator/drivers/win32/win_efile.c b/erts/emulator/drivers/win32/win_efile.c
index 0f41a09bf6..931bb196f1 100644
--- a/erts/emulator/drivers/win32/win_efile.c
+++ b/erts/emulator/drivers/win32/win_efile.c
@@ -1581,27 +1581,3 @@ efile_fadvise(Efile_error* errInfo, int fd, Sint64 offset,
errno = ERROR_SUCCESS;
return check_error(0, errInfo);
}
-
-int
-efile_sendfile(Efile_error* errInfo, int in_fd, int out_fd,
- off_t *offset, size_t *count)
-{
- /* TODO: write proper Windows TransmitFile based implementation */
- /* use overlapped I/O and driver_select on the structure? */
- /* int res = efile_seek(errInfo, in_fd, *offset, EFILE_SEEK_SET, NULL); */
- /* if (res) { */
- /* /\* TODO: could in_fd be shared and require protecting/locking */
- /* efile_seek/SetFilePointerEx? *\/ */
- /* if (TransmitFile((SOCKET) out_fd, (HANDLE) in_fd, *count, */
- /* 0, NULL, NULL, 0)) { */
- /* return check_error(0, errInfo); */
- /* } else { */
- /* /\* TODO: correct error handling? *\/ */
- /* return set_error(errInfo); */
- /* } */
- /* } else { */
- /* return res; */
- /* } */
- errno = ENOTSUP;
- return check_error(-1, errInfo);
-}