diff options
| author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-10 00:14:33 +0000 |
|---|---|---|
| committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-10 00:14:33 +0000 |
| commit | 2b59f816b16e2f55b095447484922a79a403aef3 (patch) | |
| tree | f51bbc4b9c66bbcc3db041727a2b097e7bb4faac /include | |
| parent | ab5c2f41fc3ec73bbefd3e46874fcbe6dd8b206d (diff) | |
| download | busybox-w32-2b59f816b16e2f55b095447484922a79a403aef3.tar.gz busybox-w32-2b59f816b16e2f55b095447484922a79a403aef3.tar.bz2 busybox-w32-2b59f816b16e2f55b095447484922a79a403aef3.zip | |
Realpath applet
git-svn-id: svn://busybox.net/trunk/busybox@6149 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 3 | ||||
| -rw-r--r-- | include/usage.h | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index d8c4b38a0..b7171f7a1 100644 --- a/include/applets.h +++ b/include/applets.h | |||
| @@ -416,6 +416,9 @@ | |||
| 416 | #ifdef CONFIG_READLINK | 416 | #ifdef CONFIG_READLINK |
| 417 | APPLET(readlink, readlink_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 417 | APPLET(readlink, readlink_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
| 418 | #endif | 418 | #endif |
| 419 | #ifdef CONFIG_REALPATH | ||
| 420 | APPLET(realpath, realpath_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
| 421 | #endif | ||
| 419 | #ifdef CONFIG_REBOOT | 422 | #ifdef CONFIG_REBOOT |
| 420 | APPLET(reboot, reboot_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | 423 | APPLET(reboot, reboot_main, _BB_DIR_SBIN, _BB_SUID_NEVER) |
| 421 | #endif | 424 | #endif |
diff --git a/include/usage.h b/include/usage.h index 2e8720e94..17fd4073a 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -1638,6 +1638,11 @@ | |||
| 1638 | #define readlink_full_usage \ | 1638 | #define readlink_full_usage \ |
| 1639 | "Read a symbolic link." | 1639 | "Read a symbolic link." |
| 1640 | 1640 | ||
| 1641 | #define realpath_trivial_usage \ | ||
| 1642 | "pathname ..." | ||
| 1643 | #define realpath_full_usage \ | ||
| 1644 | "return the canonicalized absolute pathnames of given arguments\n\n" | ||
| 1645 | |||
| 1641 | #define reboot_trivial_usage \ | 1646 | #define reboot_trivial_usage \ |
| 1642 | "" | 1647 | "" |
| 1643 | #define reboot_full_usage \ | 1648 | #define reboot_full_usage \ |
