VSF Documented
arg_date.c File Reference
#include "argtable3.h"
#include "argtable3_private.h"
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>

Macros

#define ALT_E   0x01
 
#define ALT_O   0x02
 
#define LEGAL_ALT(x)
 
#define TM_YEAR_BASE   (1900)
 

Functions

char * arg_strptime (const char *buf, const char *fmt, struct tm *tm)
 
struct arg_datearg_date0 (const char *shortopts, const char *longopts, const char *format, const char *datatype, const char *glossary)
 
struct arg_datearg_date1 (const char *shortopts, const char *longopts, const char *format, const char *datatype, const char *glossary)
 
struct arg_datearg_daten (const char *shortopts, const char *longopts, const char *format, const char *datatype, int mincount, int maxcount, const char *glossary)
 

Macro Definition Documentation

◆ ALT_E

#define ALT_E   0x01

◆ ALT_O

#define ALT_O   0x02

◆ LEGAL_ALT

#define LEGAL_ALT ( x)
Value:
{ \
if (alt_format & ~(x)) \
return (0); \
}

◆ TM_YEAR_BASE

#define TM_YEAR_BASE   (1900)

Function Documentation

◆ arg_strptime()

char * arg_strptime ( const char * buf,
const char * fmt,
struct tm * tm )

◆ arg_date0()

struct arg_date * arg_date0 ( const char * shortopts,
const char * longopts,
const char * format,
const char * datatype,
const char * glossary )

◆ arg_date1()

struct arg_date * arg_date1 ( const char * shortopts,
const char * longopts,
const char * format,
const char * datatype,
const char * glossary )

◆ arg_daten()

struct arg_date * arg_daten ( const char * shortopts,
const char * longopts,
const char * format,
const char * datatype,
int mincount,
int maxcount,
const char * glossary )
Generated from commit: vsfteam/vsf@ceb53fd