[LinuxBIOS] Convert hex to dec

Joseph Smith joe at smittys.pointclark.net
Wed Jul 4 15:22:54 CEST 2007

Got another silly C newbie question.
If I want to convert a hex value to decimal, would this work?

value = ff /* Hex value */

sscanf(value, %d, &value)

Is the variable "value" now 255??

Thanks - Joe

More information about the coreboot mailing list