aboutsummaryrefslogtreecommitdiff
path: root/toys/example/hostid.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2017-10-31 15:51:02 -0500
committerRob Landley <rob@landley.net>2017-10-31 15:51:02 -0500
commite913247fec162437920266182834aedadcb03004 (patch)
tree8f61ef4d6dfdb0d256279d4e5e34347f498aa13b /toys/example/hostid.c
parentb2d8cf906502226904e149e20279a899ba22e035 (diff)
downloadtoybox-e913247fec162437920266182834aedadcb03004.tar.gz
Rename test_*.c to demo_*.c (because "make test_$CMD" means something already),
fluff out README, and add a comment to hostid explaining its deprecation.
Diffstat (limited to 'toys/example/hostid.c')
-rw-r--r--toys/example/hostid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/toys/example/hostid.c b/toys/example/hostid.c
index feef61bf..3d7a8a8c 100644
--- a/toys/example/hostid.c
+++ b/toys/example/hostid.c
@@ -3,6 +3,9 @@
* Copyright 2015 Ranjan Kumar <ranjankumar.bth@gmail.com>
*
* No Standard.
+ *
+ * This is still in coreutils and gethostid() in posix, but a "globally unique
+ * 32 bit identifier" is a concept the Linux world has outgrown.
USE_HOSTID(NEWTOY(hostid, ">0", TOYFLAG_USR|TOYFLAG_BIN))