From e57aad8e43bc2617e88caac515b3fe5a09349813 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Wed, 19 Jul 2017 12:59:27 +1000 Subject: osl: fix header comment Change-Id: I06829e4ad0efc78244083e48bf9cd10422ff5e2e --- sal/osl/unx/file_error_transl.hxx | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) (limited to 'sal') diff --git a/sal/osl/unx/file_error_transl.hxx b/sal/osl/unx/file_error_transl.hxx index 51be5aacf998..5357db3d28b0 100644 --- a/sal/osl/unx/file_error_transl.hxx +++ b/sal/osl/unx/file_error_transl.hxx @@ -23,29 +23,22 @@ #include #include -/********************************************* - oslTranslateFileError - Translate errno's to osl file errors - - @param bIsError [in] specifies if nErrno - should be interpreted as error, - some libc functions signaling an error - but errno is nevertheless 0 in this - case the function should at least - return osl_File_E_Unknown but in no - case osl_File_E_None! +#define OSL_FET_ERROR true - @param nErrno [in] the errno if errno is 0 - and bIsError is true the function - returns osl_File_E_Unknown +/** Translate errno's to osl file errors - @returns the osl error code appropriate to - the errno + @param [in] bIsError specifies if nErrno should be interpreted as error, + some libc functions signaling an error but errno is + nevertheless 0 in this case the function should at + least return osl_File_E_Unknown but in no case + osl_File_E_None! - *********************************************/ + @param [in] nErrno the errno if errno is 0 and bIsError is true the + function returns osl_File_E_Unknown -#define OSL_FET_ERROR true + @returns the osl error code appropriate to the errno +*/ oslFileError oslTranslateFileError(bool bIsError, int Errno); #endif -- cgit v1.2.3