I have observed an error in open() system call to open a hard-drive partition.
The error number is EINVAL. The application is not returning this error always.
But on some occasions. QNX help says EINVAL - The requested synchronized modes (O_SYNC, O_DSYNC, O_RSYNC) aren’t supported.
This is my open() statement:-
desc = open("/dev/hd0txx", O_RDWR);
Could you please share any other possibilities of causing this error?