Documentation

xPCSetLastError

Set last error to specific character string constant

Prototype

void xPCSetLastError(int error);

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

Was this topic helpful?