|
From: Nicholas N. <nj...@cs...> - 2007-04-03 22:04:32
|
On Tue, 3 Apr 2007, Julian Seward wrote: >> I am not sure which flags I have to use, when I want to open a file in >> binary mode a) for reading and b) for writing. Does VKI_O_RDONLY and >> VKI_O_WRONLY already cover the binary modes? (this is one of the not so >> well documented parts, so I am struggeling a little here) > > I don't think there is any binary vs non-binary file mode > differences on Linux. So this should not be a problem. It's the difference between 'fopen' (a library function) and 'open' (a system call). They're similar -- fopen is usually layered on top of open -- but not identical. Nick |