summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/atof.3
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-08-24 09:17:01 +0000
committered <ed@FreeBSD.org>2009-08-24 09:17:01 +0000
commita995cd062d6283935c9ebc9991e10ebde7c7cb59 (patch)
treefdbd7be578f5c48eadb6a49bcef203a3a93743ff /lib/libc/stdlib/atof.3
parente23bffc564ab5535d22eea5710c2e1dc24512239 (diff)
downloadFreeBSD-src-a995cd062d6283935c9ebc9991e10ebde7c7cb59.zip
FreeBSD-src-a995cd062d6283935c9ebc9991e10ebde7c7cb59.tar.gz
Unhardcode 0x100 inside kbdcontrol.
In preparation for Unicode support for the keyboard layer, we'd better get rid of all the hardcoded 0x100/0xff constants in kbdcontrol. Instead, add a flag called SPECIAL stored in the top bit of the integer. Adding Unicode support is very simple now; just change u_char map[] to u_int map[] in keyent_t, change the bounds checking in kbdcontrol to 0x1FFFFF and modify the ioctls to allow loading these new keymaps.
Diffstat (limited to 'lib/libc/stdlib/atof.3')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud