| gclib 1.32.6 Communications API for Galil controllers and PLCs |

## ◆ GError()

void GCALL GError | ( | GReturn | rc,
|  | GCStringOut | error,
|  | GSize | error_len
| ) |  |

Provides a human-readable description string for return codes.

Parameters

  rc | The return code to lookup.
  error | The buffer to fill with the error text. Buffer will be null terminated, even if the data must be truncated to do so.
  error_len | The length of the error buffer.

See x_examples.cpp for an example.

Definition at line 459 of file gclibo.c.

References G_NO_ERROR.

Referenced by error().