nt lseek, error with ESPIPE when attempting on socket

This commit is contained in:
Gavin Hayes 2022-10-17 15:10:34 -04:00
parent e046530eb6
commit 023a3faeb1

View file

@ -34,6 +34,8 @@ textwindows int64_t sys_lseek_nt(int fd, int64_t offset, int whence) {
} else {
return espipe();
}
} else if (__isfdkind(fd, kFdSocket)) {
return espipe();
} else {
return ebadf();
}