19 int main(
int argc,
char * argv[])
22 int rc = GALIL_EXAMPLE_OK;
33 return GALIL_EXAMPLE_ERROR;
37 return GALIL_EXAMPLE_OK;
int GReturn
Every function returns a value of type GReturn. See gclib_errors.h for possible values.
#define G_SMALL_BUFFER
Most reads from Galil are small. This value will easily hold most, e.g. TH, TZ, etc.
int main(int argc, char *argv[])
Main function for Commands Example.
GReturn remote_client()
Lists available remote servers and allows connection to remote server.
void error(GCon g, GReturn rc)
An example of error handling and debugging information.
int pause()
Pauses console apps for a user key stroke.