Uses GUtility() and `G_UTIL_TIMEOUT_OVERRIDE` to set the library timeout. 
- Parameters:
 - 
  
     | g  | Connection's handle.  | 
     | timeout_ms  | The value to be used for the timeout. Use `G_USE_INITIAL_TIMEOUT` to set the timeout back to the initial GOpen() value, `--timeout`. | 
  
   
- Returns:
 - The success status or error code of the function. See gclib_errors.h for possible values.
 
See x_gcommand.cpp and x_gread_gwrite.cpp for examples. 
Definition at line 29 of file gclibo.c.
References G_UTIL_TIMEOUT_OVERRIDE, and GUtility().