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

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

Contents


DTpnotodec(3dm)						       DTpnotodec(3dm)


NAME    [Toc]    [Back]

     DTpnotodec	- convert BCD program number to	decimal

SYNOPSIS    [Toc]    [Back]

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

     int DTpnotodec(unchar pno1, unchar	pno2, unchar pno3)

PARAMETERS    [Toc]    [Back]

     pno1   The	first (most significant) BCD digit of the program number.

     pno2   The	second BCD digit of the	program	number.

     pno1   The	third (least significant) BCD digit of the program number.

RETURNED VALUE    [Toc]    [Back]

     DTpnotodec	returns	the program number in decimal between 1	and 799.  It
     may also return 0xAAA when	the program number is invalid or 0xBBB when
     the program number	is that	of the tape lead-in area.

DESCRIPTION    [Toc]    [Back]

     DTpnotodec	converts the DAT program number	represented by the three BCD
     digits, passed as arguments, into a single	integer	value.	Valid program
     numbers lie in the	range 1	to 799.	 Values	of 0xAAA and 0xBBB can also be
     returned.	0xAAA is returned when BCD digits 2 and	3 are 0xA which	means
     the program number	currently has no validity.  0xBBB is returned when BCD
     digits 2 and 3 are	0xB which means	the program number is that of the
     lead-in area of the tape.

SEE ALSO    [Toc]    [Back]

      
      
     DTintro(3dm), DTatotime(3dm), DTatohmsf(3dm), DTframetohmsf(3dm),
     DTframetotc(3dm), DThmsftoframe(3dm), DTtctoframe(3dm), datframe(4)

AUTHOR    [Toc]    [Back]

     Mark Callow


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
precision IRIX Returns the decimal precision of a number in the real number model
range IRIX Returns the decimal exponent range of a number according to the real or integer model
rpc Tru64 rpc program number database
rpc OpenBSD rpc program number database
portmap IRIX TCP, UDP port to RPC program number mapper
rpc FreeBSD rpc program number data base
rpc IRIX RPC program number data base
rpc Linux rpc program number data base
rpc HP-UX rpc program number data base
portmap OpenBSD DARPA port to RPC program number mapper
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service