GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
scan.c File Reference
#include <stdio.h>
#include <string.h>
#include <grass/datetime.h>
Include dependency graph for scan.c:

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...
 

Function Documentation

◆ datetime_scan()

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.

Parameters
dt
buf
Returns
int

Definition at line 43 of file scan.c.