1 /* vi: set sw=4 ts=4: */
5 * Copyright (C) 2014 Isaac Dunham <ibid.ag@gmail.com>
7 * Licensed under GPLv2, see LICENSE in this source tree
10 //config: bool "unlink (3.2 kb)"
13 //config: unlink deletes a file by calling unlink()
15 //applet:IF_UNLINK(APPLET_NOFORK(unlink, unlink, BB_DIR_USR_BIN, BB_SUID_DROP, unlink))
17 //kbuild:lib-$(CONFIG_UNLINK) += unlink.o
19 //usage:#define unlink_trivial_usage
21 //usage:#define unlink_full_usage "\n\n"
22 //usage: "Delete FILE by calling unlink()"
26 int unlink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
27 int unlink_main(int argc UNUSED_PARAM, char **argv)
29 getopt32(argv, "^" "" "\0" "=1");