Documentation

xPCFSGetError

Get text description for error number on target computer file system

Prototype

void xPCFSGetError(int port, unsigned int error_number,
char *error_message);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

error_number

Enter the constant of an error.

error_message

The character string of the message associated with the error error_number is stored in error_message.

Description

The xPCFSGetError function gets the error_message associated with error_number. This function enables you to use the error message in a printf or similar statement.

Introduced before R2006a

Was this topic helpful?