StrToGPS.c File Reference

#include <ctype.h>
#include <errno.h>
#include <locale.h>
#include <stdlib.h>
#include <lal/Date.h>
#include <lal/LALDatatypes.h>
#include <lal/LALRCSID.h>

Include dependency graph for StrToGPS.c:

Go to the source code of this file.

Functions

 NRCSID (STRTOGPSC,"$Id: StrToGPS.c,v 1.18 2008/04/29 01:12:11 kipp Exp $")
int XLALStrToGPS (LIGOTimeGPS *t, const char *nptr, char **endptr)
 Parse an ASCII string into a LIGOTimeGPS structure.
char * XLALGPSToStr (char *s, const LIGOTimeGPS *t)
 Return a string containing the ASCII base 10 representation of a LIGOTimeGPS.


Function Documentation

NRCSID ( STRTOGPSC  ,
"$Id: StrToGPS.  c,
v 1.18 2008/04/29 01:12:11 kipp Exp $"   
)

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

Parse an ASCII string into a LIGOTimeGPS structure.

Definition at line 101 of file StrToGPS.c.

char* XLALGPSToStr ( char *  s,
const LIGOTimeGPS t 
)

Return a string containing the ASCII base 10 representation of a LIGOTimeGPS.

If s is not NULL, then the string is written to that location which must be large enough to hold the string plus a '' terminator. If s is NULL then a new buffer is allocated, and the string written to it. The return value is the address of the string or NULL on failure.

Definition at line 286 of file StrToGPS.c.


Generated on Sun Sep 7 03:08:11 2008 for LAL by  doxygen 1.5.2