| * Copyright (C) 2014 Isaac Dunham <ibid.ag@gmail.com> |
| * Licensed under GPLv2, see LICENSE in this source tree |
| //config: bool "unlink (3.5 kb)" |
| //config: unlink deletes a file by calling unlink() |
| //applet:IF_UNLINK(APPLET_NOFORK(unlink, unlink, BB_DIR_USR_BIN, BB_SUID_DROP, unlink)) |
| //kbuild:lib-$(CONFIG_UNLINK) += unlink.o |
| //usage:#define unlink_trivial_usage |
| //usage:#define unlink_full_usage "\n\n" |
| //usage: "Delete FILE by calling unlink()" |
| int unlink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
| int unlink_main(int argc UNUSED_PARAM, char **argv) |
| getopt32(argv, "^" "" "\0" "=1"); |