Initial signal() support, added gethostname()/sethostname().