123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #include "libbb.h"
- int hostid_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
- int hostid_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
- {
- if (argv[1]) {
- bb_show_usage();
- }
-
- printf("%08x\n", (unsigned)(uint32_t)gethostid());
- return fflush_all();
- }
|