👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

NetBSD 6.1.5 - man page for bcdtobin (netbsd section 9)

BCDTOBIN(9)			  BSD Kernel Developer's Manual 		      BCDTOBIN(9)

NAME
     bcdtobin, bintobcd -- convert a single byte between (unsigned) packed bcd and binary

SYNOPSIS
     #include <sys/systm.h>

     unsigned int
     bcdtobin(unsigned int bcd);

     unsigned int
     bintobcd(unsigned int bin);

DESCRIPTION
     The bcdtobin() and bintobcd() functions convert a single byte between (unsigned) packed bcd
     and binary encodings.

RETURN VALUES
     The bcdtobin() function returns the binary value of its BCD-encoded argument, bcd.  The
     bintobcd() function returns the BCD encoding of its binary argument, bin.

BSD					  March 11, 2006				      BSD


All times are GMT -4. The time now is 05:32 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password