shithub: riscv

ref: 806f97a47b461a8389d91b29f5cd5345774f84b0
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*);