19 int main(
int argc,
char * argv[])
22 int rc = GALIL_EXAMPLE_OK;
33 rc = GALIL_EXAMPLE_ERROR;
36 std::cout <<
"Enter any key to exit" << std::endl;
int main(int argc, char *argv[])
Main function for Commands Example.
GReturn remote_client()
Lists available remote servers and allows connection to remote server.
GCLIB_DLL_EXPORTED void GCALL GError(GReturn rc, GCStringOut error, GSize error_len)
Provides a human-readable description string for return codes.
#define G_SMALL_BUFFER
Most reads from Galil are small. This value will easily hold most, e.g. TH, TZ, etc.
int GReturn
Every function returns a value of type GReturn. See gclib_errors.h for possible values.