Add a readnum() variant for hex
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 30 Jun 2016 20:59:12 +0000 (16:59 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 30 Jun 2016 21:04:18 +0000 (17:04 -0400)
commit669db5cac103e0497fad6822e6868b7f2b5f7857
treecc301424a4a78a67ace8755fdbc980dc71623ac3
parent5bb3ad6e5867368331f09c82ec063912e881330e
Add a readnum() variant for hex

Yet another read.* helper for read() on various devices.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/ns.h
kern/src/ns/util.c