1
0
mirror of git://git.suckless.org/sbase synced 2024-12-27 01:12:19 +00:00
sbase/link.c
FRIGN eee98ed3a4 Fix coding style
It was about damn time. Consistency is very important in such a
big codebase.
2014-11-13 18:08:43 +00:00

18 lines
302 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 linkname\n", argv0);
if (link(argv[1], argv[2]) < 0)
eprintf("link:");
return 0;
}