> I've developed similar API during HAST work, maybe it is a good starting > point? src/sbin/hastd/nv.{c,h}. > What about pushing this into some public libraries, I think this could be usefull in libc ou libutil or something like that? regards, Bapt