Sun Java System Messaging Server 6 2005Q4 MTA Developer's Reference


Use mtaOptionFloat() to retrieve the value of an option, interpreting its value as a floating point number. If the option is specified in the option file and its value is a valid floating point number, then its value will be returned using the val call argument. If the option is not specified or its value does not correctly specify a floating point number, then no value is returned and the memory pointed at by val is left unchanged.

The mtaOptionFloat()routine can be called with a NULL value for the opt_ctx argument. When this is done, mtaOptionFloat() immediately returns with a status code of zero and no value is returned.

This routine does not provide an indication of whether or not the option was specified in the option file. If it is important to know whether or not the option was specified, then use mtaOptionString() to test to see if the option was specified.