The first thing to consider is that Windows XP is no longer supported by
the main Cygwin code base.
https://cygwin.com/cygwin-ug-net/setup-net.html
If you really need to install on XP, you'll have to find a snapshot of
the last repository that supported it. That would be anything prior to
Cy
Den 2020-01-11 15:10, skrev David Balažic:
pread on /dev/sda fails with Illegal seek.
Confirmed on windows 10, 64-bit.
My code:
$ cat t.c
#include
#include
#include
#include
#include
int main(int argc, char *argv[])
{
int fd = open("/dev/sda", O_RDONLY, 0);
if (fd < 0) {
Hi!
I'm porting an app from Linux to Cygwin and stumbled on this problem:
pread on /dev/sda fails with Illegal seek.
The simplified code is:
#include
#include
#include
#include
int main(int argc, char *argv[])
{
unsigned int sector_size = 512;
void *buf = calloc(sector_size,1);
int f
3 matches
Mail list logo