LAL  7.5.0.1-b72065a
StrToGPS.c File Reference

Prototypes

static int isbase10 (const char *s, int radix)
 
static int isbase16 (const char *s, int radix)
 
static int isdecimalexp (const char *s)
 
static int isbinaryexp (const char *s)
 
int XLALStrToGPS (LIGOTimeGPS *t, const char *nptr, char **endptr)
 Parse an ASCII string into a LIGOTimeGPS structure. More...
 
char * XLALGPSToStr (char *s, const LIGOTimeGPS *t)
 Return a string containing the ASCII base 10 representation of a LIGOTimeGPS. More...
 

Go to the source code of this file.

Function Documentation

◆ isbase10()

static int isbase10 ( const char *  s,
int  radix 
)
static

Definition at line 36 of file StrToGPS.c.

◆ isbase16()

static int isbase16 ( const char *  s,
int  radix 
)
static

Definition at line 44 of file StrToGPS.c.

◆ isdecimalexp()

static int isdecimalexp ( const char *  s)
static

Definition at line 64 of file StrToGPS.c.

◆ isbinaryexp()

static int isbinaryexp ( const char *  s)
static

Definition at line 76 of file StrToGPS.c.

◆ XLALStrToGPS()

int XLALStrToGPS ( LIGOTimeGPS t,
const char *  nptr,
char **  endptr 
)

Parse an ASCII string into a LIGOTimeGPS structure.

Definition at line 91 of file StrToGPS.c.