Chromium Code Reviews| Index: base/platform_file.h |
| =================================================================== |
| --- base/platform_file.h (revision 97736) |
| +++ base/platform_file.h (working copy) |
| @@ -123,7 +123,8 @@ |
| // Writes the given buffer into the file at the given offset, overwritting any |
| // data that was previously there. Returns the number of bytes written, or -1 |
| -// on error. |
| +// on error. Note that this function automatically retries writing if it is |
|
darin (slow to review)
2011/08/25 23:54:24
Is this to match the behavior of Windows? If so,
rvargas (doing something else)
2011/08/26 00:09:36
Something like that. I have another code review wh
|
| +// expected for the underlying platform to write less data than |size|. |
| BASE_EXPORT int WritePlatformFile(PlatformFile file, int64 offset, |
| const char* data, int size); |