DTsetdate(3dm)
DTsetdate - set a date pack to the current time
As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.
NAME DTsetdate - set a date pack to the current time SYNOPSIS #include <sys/types.h> #include <dmedia/dataudio.h> void DTsetdate(struct dtdatepack *dp) PARAMETER dp A pointer to the struct dtdatepack to be set. DESCRIPTION DTsetdate sets the struct dtdatepack, pointed to by dp, to the current system time as reported by time(2) and converted to the local timezone by localtime(3). A struct dtdatepack is defined in dataudio.h as follows: struct dtdatepack { unchar id:4, dayow:4; struct dtpackedbcd year; struct dtpackedbcd month; struct dtpackedbcd day; struct dtpackedbcd hour; struct dtpackedbcd min; struct dtpackedbcd sec; unchar parity; }; DTsetdate is useful for printing date and time stamps during recording. SEE ALSO DTintro(3dm), DTaddcallback(3dm), DTatotime(3dm), DTcreateparser(3dm), DTdeleteparser(3dm), DTinctime(3dm), DTparseframe(3dm), DTremovecallback(3dm), DTresetparser(3dm), DTtimetoa(3dm), datframe(4) AUTHOR Mark Callow