summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/file.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/osl/file.h b/include/osl/file.h
index 73349572063c..01b6288ea0be 100644
--- a/include/osl/file.h
+++ b/include/osl/file.h
@@ -766,9 +766,8 @@ SAL_DLLPUBLIC oslFileError SAL_CALL osl_getFileSize(
/** Map a shared file into memory.
- Don't know what the "shared" is supposed to mean there? Also,
- obviously this API can be used to map *part* of a file into
- memory, and different parts can be mapped separately even.
+ Files can be mapped into memory to allow multiple processes to use
+ this memory-mapped file to share data.
On Android, if the Handle refers to a file that is actually inside
the app package (.apk zip archive), no new mapping is created,
@@ -790,8 +789,6 @@ SAL_DLLPUBLIC oslFileError SAL_CALL osl_mapFile (
/** Unmap a shared file from memory.
- Ditto here, why do we need to mention "shared"?
-
This function just won't work on Android in general where for
(uncompressed) files inside the .apk, per SDK conventions in the
/assets folder, osl_mapFile() returns a pointer to the file inside