GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdio.h>
#include <string.h>
#include <grass/datetime.h>
Go to the source code of this file.
Functions | |
int | datetime_scan (DateTime *dt, const char *buf) |
Convert the ascii string into a DateTime. This determines the mode/from/to based on the string, inits 'dt' and then sets values in 'dt' based on the [???] Returns 0 if 'string' is legal, -1 if not. More... | |
int datetime_scan | ( | DateTime * | dt, |
const char * | buf | ||
) |
Convert the ascii string into a DateTime. This determines the mode/from/to based on the string, inits 'dt' and then sets values in 'dt' based on the [???] Returns 0 if 'string' is legal, -1 if not.
dt | |
buf |
Definition at line 43 of file scan.c.
References datetime_error().
Referenced by G_scan_timestamp().