summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2018-01-29 01:17:35 +1100
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-29 07:31:10 +0100
commit623a87a3c338a9b4cdc5d9753388b5956006b8b4 (patch)
treefd15c63dbda02253bc4f55aab1c21a602568101e /include/osl
parente4c403317741a3ca5a9235900838fe50af67872e (diff)
osl: document osl_File_E_NETWORK enum
Change-Id: I4c16ba13820b5cdec03c21a460d3d0ecc7dd86d5 Reviewed-on: https://gerrit.libreoffice.org/48791 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/file.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/osl/file.h b/include/osl/file.h
index 16690882cfe1..7d6d22173420 100644
--- a/include/osl/file.h
+++ b/include/osl/file.h
@@ -130,7 +130,9 @@ typedef enum {
osl_File_E_NOTREADY, /*!< device not ready */
osl_File_E_invalidError, /*!< unmapped error: always last entry in enum! */
osl_File_E_TIMEDOUT, /*!< socket operation timed out */
- osl_File_E_NETWORK,
+ osl_File_E_NETWORK, /*!< unexpected network error occurred (Windows) - could be a
+ user session was deleted, or an unexpected network error
+ occurred */
osl_File_E_FORCE_EQUAL_SIZE = SAL_MAX_ENUM
} oslFileError;
@@ -828,7 +830,7 @@ SAL_DLLPUBLIC oslFileError SAL_CALL osl_getFileSize(
can mean that the address, length of the file or the
file offset are too large or not aligned on a page
boundary; on Linux can also mean after Linux 2.6.12
- that the length was set to 0 (illogical.
+ that the length was set to 0 (illogical).
@retval osl_File_E_OVERFLOW requested mapping size too large,
or the file offset was too large
@retval osl_File_E_ACCES file descriptor to non-regular file, or