Translates a POSIX error code to the corresponding chsvlib error code.
Parameters
[in]
nError
A POSIX error code to be translated.
Returns
The function returns a value of the chsvlib error code, which corresponds to the specified POSIX error code. If the correspondence is not established, the returned value is CHSVERROR_PLATFORM_ERROR.
Possible chsvlib error codes to be returned are defined in the Error handling group.