bintobcd(9) netbsd man page | unix.com

Man Page: bintobcd

Operating Environment: 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
Related Man Pages
dwarf_get_at_name(3) - freebsd
px_put_data_bcd(3) - debian
dwarf_get_ord_name(3) - freebsd
dwarf_get_ate_name(3) - freebsd
bindec(3) - php
Similar Topics in the Unix Linux Community
How to install PGX32 on Sparc 10 Ultra?
Better to Use Return Code or wc -l Output?
BSD Unix Toolbox: 1000+ Commands for FreeBSD, OpenBSD, and NetBSD
Grep command to show the number of results