There are two forms for the Gamma distribution, each with different definitions for the shape and scale parameters. Rather than asking what the form is used for the gsl_ran_gamma implementation, it's probably easier to ask for the associated definitions for the mean and standard deviation in terms of the shape and scale parameters.
Any pointers to definitions would be appreciated.