1 /* hostid.c - Print the numeric identifier for the current host.
3 * Copyright 2015 Ranjan Kumar <ranjankumar.bth@gmail.com>
7 USE_HOSTID(NEWTOY(hostid, ">0", TOYFLAG_USR|TOYFLAG_BIN))
15 Print the numeric identifier for the current host.
20 void hostid_main(void)
22 xprintf("%08lx\n", gethostid());