Thread local errno.
Removed dev subsys; It will be soon replaced with devfs and virtual file system.