manpp: handle groff \N[dd] escape sequence
[rofl0r-hardcore-utils.git] / unlink.c
blob4bde8acac83e63d20b74d68708fa290fc7c36f6f
1 #include <unistd.h>
2 #include <stdio.h>
3 static int usage(void) {
4 dprintf(2, "usage: unlink file\n");
5 return 1;
8 int main(int argc, char** argv) {
9 if(argc != 2) return usage();
10 if(unlink(argv[1]) == -1) {
11 perror("unlink");
12 return 1;
14 return 0;