summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/nss/nspr/pr/include/prio.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/nss/nspr/pr/include/prio.h')
-rw-r--r--chromium/third_party/nss/nspr/pr/include/prio.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium/third_party/nss/nspr/pr/include/prio.h b/chromium/third_party/nss/nspr/pr/include/prio.h
index ac4b270dea4..72397c8ea2d 100644
--- a/chromium/third_party/nss/nspr/pr/include/prio.h
+++ b/chromium/third_party/nss/nspr/pr/include/prio.h
@@ -1855,6 +1855,19 @@ NSPR_API(PRStatus) PR_MemUnmap(void *addr, PRUint32 len);
NSPR_API(PRStatus) PR_CloseFileMap(PRFileMap *fmap);
/*
+ * Synchronously flush the given memory-mapped address range of the given open
+ * file to disk. The function does not return until all modified data have
+ * been written to disk.
+ *
+ * On some platforms, the function will call PR_Sync(fd) internally if it is
+ * necessary for flushing modified data to disk synchronously.
+ */
+NSPR_API(PRStatus) PR_SyncMemMap(
+ PRFileDesc *fd,
+ void *addr,
+ PRUint32 len);
+
+/*
******************************************************************
*
* Interprocess communication