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

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

Contents


DTatohmsf(3dm)							DTatohmsf(3dm)


NAME    [Toc]    [Back]

     DTatohmsf - convert ASCII string to hours,	minutes, seconds, frames

SYNOPSIS    [Toc]    [Back]

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

     int DTatohmsf(const char* str, int* h, int* m, int* s, int* f)

PARAMETERS    [Toc]    [Back]

     str   A pointer to	the ASCII string to be converted.

     h	   A pointer to	the location to	store the hours	value.

     m	   A pointer to	the location to	store the minutes value.

     s	   A pointer to	the location to	store the seconds value.

     f	   A pointer to	the location to	store the frame	value.

RETURNED VALUE    [Toc]    [Back]

     DTatohmsf returns non-zero	if the string represents a valid time
     otherwise it returns zero.

DESCRIPTION    [Toc]    [Back]

     DTatohmsf converts	an ASCII string	of the form

	      "00:00:00:00"


     representing a DAT	time code, into	four integers with an integer each for
     hours, minutes, seconds and frame number.	Any of the following
     separators	may be used in the string: :-/#|,.;* DTatohmsf sets as many
     values as there are fields	in the string, starting	with the hours value,
     up	to the maximum of four.	 Values	corresponding to unsupplied fields are
     set to zero.

SEE ALSO    [Toc]    [Back]

      
      
     DTintro(3dm), DTaddcallback(3dm), DTatotime(3dm), DTframetohmsf(3dm),
     DTparseframe(3dm),	datframe(4)

AUTHOR    [Toc]    [Back]

     Doug Cook,	Mark Callow


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
CDatomsf IRIX convert ASCII string to minutes, seconds, frames
DTframetohmsf IRIX convert DAT frame number to hours, minutes, seconds, frame
DThmsftoframe IRIX convert hours, minutes, seconds, frame to DAT frame number.
CDframetomsf IRIX convert CD frame number to minutes, seconds, frame
CDatotime IRIX convert ASCII string to timecode
atof FreeBSD convert ASCII string to double
strtod NetBSD convert ASCII string to double
atof OpenBSD convert ASCII string to double
ecvt OpenBSD convert double to ASCII string
atoi OpenBSD convert ASCII string to integer
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service