sbase/link.c
2015-02-14 21:12:23 +01:00

17 lines
279 B
C

/* See LICENSE file for copyright and license details. */
#include <unistd.h>
#include "util.h"
int
main(int argc, char *argv[])
{
argv0 = argv[0];
if (argc != 3)
eprintf("usage: %s target name\n", argv0);
if (link(argv[1], argv[2]) < 0)
eprintf("link:");
return 0;
}