diff options
Diffstat (limited to 'sal/osl/unx/uunxapi.hxx')
-rw-r--r-- | sal/osl/unx/uunxapi.hxx | 43 |
1 files changed, 12 insertions, 31 deletions
diff --git a/sal/osl/unx/uunxapi.hxx b/sal/osl/unx/uunxapi.hxx index 0419ebe31b71..f5fc477d3d1b 100644 --- a/sal/osl/unx/uunxapi.hxx +++ b/sal/osl/unx/uunxapi.hxx @@ -26,17 +26,10 @@ namespace osl { - - /*********************************** - osl::access - - @see access - **********************************/ - inline int access(const rtl::OUString& ustrPath, int mode) - { + { return access_u(ustrPath.pData, mode); - } + } /*********************************** osl::realpath @@ -53,32 +46,20 @@ namespace osl inline sal_Bool realpath( const rtl::OUString& ustrFileName, - rtl::OUString& ustrResolvedName) + rtl::OUString& ustrResolvedName) { return realpath_u(ustrFileName.pData, &ustrResolvedName.pData); - } - + } - /*********************************** - osl::lstat - - @see lstat - **********************************/ - - inline int lstat(const rtl::OUString& ustrPath, struct stat& buf) - { - return lstat_u(ustrPath.pData, &buf); - } - - /*********************************** - osl::mkdir - @see mkdir - **********************************/ - inline int mkdir(const rtl::OUString& aPath, mode_t aMode) - { - return mkdir_u(aPath.pData, aMode); - } + inline int lstat(const rtl::OUString& ustrPath, struct stat& buf) + { + return lstat_u(ustrPath.pData, &buf); + } + inline int mkdir(const rtl::OUString& aPath, mode_t aMode) + { + return mkdir_u(aPath.pData, aMode); + } } // end namespace osl #endif /* _OSL_UUNXAPI_HXX_ */ |