shithub: riscv

ref: 2c6cc121339ade33ac5aa4b46356df1cd5469fbe
dir: /sys/src/cmd/aux/gps/dat.h/

View raw version
typedef struct Place Place;

struct Place {
	double	lon;
	double 	lat;
};
#pragma	varargck	type	"L"	Place

enum {
	Undef		= 0x80000000,
	Baud=		4800,		/* 4800 is NMEA standard speed */
};

extern Place nowhere;
extern int debug;

int placeconv(Fmt*);
Place strtopos(char*, char**);
int strtolatlon(char*, char**, Place*);