mirror of
git://git.suckless.org/sbase
synced 2024-12-23 15:34:38 +00:00
0bb5f5f453
and mark it as finished in the README.
18 lines
298 B
C
18 lines
298 B
C
/* See LICENSE file for copyright and license details. */
|
|
#include <errno.h>
|
|
#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;
|
|
}
|