diff toys/toylist.h @ 115:19b5567f0a1b

Add readlink, xreadlink(), and change xrealloc() to not fight the stupid compiler so much.
author Rob Landley <rob@landley.net>
date Sun, 29 Apr 2007 19:55:21 -0400
parents ce6956dfc0cf
children a0678c2ae9b8
line wrap: on
line diff
--- a/toys/toylist.h	Mon Apr 23 15:45:55 2007 -0400
+++ b/toys/toylist.h	Sun Apr 29 19:55:21 2007 -0400
@@ -94,6 +94,7 @@
 USE_MKE2FS(NEWTOY(mke2fs, MKE2FS_OPTSTRING, TOYFLAG_SBIN))
 USE_ONEIT(NEWTOY(oneit, "+<1p", TOYFLAG_SBIN))
 USE_PWD(NEWTOY(pwd, NULL, TOYFLAG_BIN))
+USE_READLINK(NEWTOY(readlink, "<1f", TOYFLAG_BIN))
 USE_TOYSH(OLDTOY(sh, toysh, "c:i", TOYFLAG_BIN))
 USE_SYNC(NEWTOY(sync, NULL, TOYFLAG_BIN))
 USE_TOUCH(NEWTOY(touch, "l#t:r:mca", TOYFLAG_BIN))