libgps.c
Functions:-The client interface library for the gpsd daemon.
Notes based on code as of Mon Apr 5 21:38:06 2010 -0400
char *deg_to_str( enum deg_str_type type, double f)
Convert double degrees to a static string and return a pointer to it.Makes a simple check on invalid degree values (less than 0 or more than 360) and returns "nan" if found.For valid values, it generates the appropriate string according to the string type enumeration, defaulting to DD MM SS.sss
enum unit gpsd_units(void)
Simple check of the environment to determine what units are required. If all else fails, use compiled in units.