summaryrefslogtreecommitdiff
path: root/tool/symlink.c
blob: 7ba730d8dc110e52286670cfba90a108c572332b (plain)
1
2
3
4
5
6
7
#include <unistd.h>

int main(int argc, const char *argv[]) {
    unlink(argv[2]);
    symlink(argv[1], argv[2]);
    return 0;
}