28.11.2012 23:03, Nicholas Mc Guire пишет:
open O_RDONLY and then write to it ?
return of 9 == EBADF
man 2 write
EBADF fd is not a valid file descriptor or is not open for writing.
hofrat
Yes, sorry, stupid mistake.
But with the correct rights O_RDWR i get error 22 EINVAL both on read
and write.
So problem is still there.
--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html