README
CREDITS
LICENSE
ChangeLog
compilation-information.txt
manpage-qdinfo.dat.txt
qd-output-example-linux.txt
qd-output-example-osx-from-linux.txt
qd-output-example-osx.txt
qd-xml-output-example-linux.txt
qd-xml-output.dtd
qd.c-defines.txt
update-qd.log
update-qd.txt
xml-ouput.txt
qd / queue.dat documentation
Using qd HOWTO
Dick Howells F@H Tools Page
|
$ cat qd.c-defines.txt
Compiler Defines Of qd.c
========================
SYSTYPE
-------
SYSTYPE=0 is Linux (x86 CPU)
SYSTYPE=1 is Windows (x86 CPU)
SYSTYPE=2 is Mac OS X (PPC CPU)
SYSTYPE=3 is Mac OS X (x86 CPU)
TZONE
-----
Number of seconds difference from UTC
All dates printed by qd will be in this timezone
TZONE=0 means your timezone is UTC
TZONE=3600 means your timezone is UTC + 1 hour
Depending on which timezone you want to use for all the dates printed by qd, it
needs to be compiled differently.
I recommed compiling with ctime() support, this way all the times printed are in
the timezone configured on the computer qd runs on. You can override the
timezone used by qd once it is compiled by using the -t or -z flags if needed.
Dick Howells binaries were compiled this way too.
If you compiled without ctime() support (-DNO_CTIME=1), you need to specify
which timezone to use (-DTZONE=3600). TZONE is expected to be the difference in
seconds between your timezone and UTC. If you live in Amsterdam for instance you
would be in the timezone UTC + 1 hour, so the define would be -DTZONE=3600.
NO_CTIME
--------
NO_CTIME=0 use the ctime() function to print the date string, which uses your
timezone
NO_CTIME=1 do not use the ctime() function, you need to set your timezone with
TZONE
|