*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> audiocddat/DTsetdate (3d)              
Title
Content
Arch
Section
 

Contents


DTsetdate(3dm)							DTsetdate(3dm)


NAME    [Toc]    [Back]

     DTsetdate - set a date pack to the	current	time

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <dmedia/dataudio.h>

     void DTsetdate(struct dtdatepack *dp)

PARAMETER    [Toc]    [Back]

     dp	  A pointer to the struct dtdatepack to	be set.

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     DTintro(3dm),  DTaddcallback(3dm),	DTatotime(3dm),	DTcreateparser(3dm),
     DTdeleteparser(3dm), DTinctime(3dm), DTparseframe(3dm),
     DTremovecallback(3dm), DTresetparser(3dm),	DTtimetoa(3dm),	datframe(4)

AUTHOR    [Toc]    [Back]

     Mark Callow


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
TIMEVAL64TO32 Tru64 Gets and sets date and time and converts time between timeval and timeval64
gettimeofday Tru64 Gets and sets date and time and converts time between timeval and timeval64
settimeofday64 Tru64 Gets and sets date and time and converts time between timeval and timeval64
settimeofday Tru64 Gets and sets date and time and converts time between timeval and timeval64
TIMEVAL32TO64 Tru64 Gets and sets date and time and converts time between timeval and timeval64
ftime Tru64 Gets and sets date and time and converts time between timeval and timeval64
gettimeofday64 Tru64 Gets and sets date and time and converts time between timeval and timeval64
ntp_gettime Tru64 Get the date, time, and kernel time error values
ntpdate Tru64 set the date and time via NTP (Network Time Protocol)
settimeofda HP-UX set the date and time
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service