xPCSetLastError

Set last error to specific character string constant

Prototype

void xPCSetLastError(int error);

Note

Do not use this C API type definition. Support for this type definition relies on support for the C API, which will be removed in a future release.

Arguments

error

Specify the character string constant for the error.

Description

The xPCSetLastError function sets the global error constant returned by xPCGetLastError to error. This function is useful only to set the character string constant to ENOERR, indicating no error was found.

Introduced before R2006a