Headers Index Help Within this page: Functions Constants Variables
OFFSETDATE.C - generate a date that's offset from the system date
Written by M.C.Gregorie.
Version history
1.0 28/07/11 Initial release
#include <offsetdate.h>
int readargs(int argc, char *argv[], int flags[], char **offset, char **element, char **format);
This function scans the command line for options and does all the associated setup.
In: offsetdate.c
Return to the top
#include <offsetdate.h>
void showhelp();
Show the punter what the options are
In: offsetdate.c
Return to the topBADMARK | #define BADMARK '!' |
DEBUG | #define DEBUG 1 |
ELEMENT | #define ELEMENT 2 |
FALSE | #define FALSE 0 |
FLAGCNT | #define FLAGCNT 6 |
FORMAT | #define FORMAT 3 |
HELP | #define HELP 0 |
MAYBEMARK | #define MAYBEMARK '%' |
OFFSET | #define OFFSET 4 |
OK | #define OK ' ' |
OPTLIST | #define OPTLIST "?de:f:o:t" |
TRUE | #define TRUE 1 |
TRUNCATE | #define TRUNCATE 5 |
Public variables were not declared.
Return to the top