summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/link.c
blob: a012cc2c3a023ede3b39e1db10b7337b2a2f0e0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* vi: set sw=4 ts=4: */
/*
 * link() for uClibc
 *
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>
#include <unistd.h>
_syscall2(int, link, const char *, oldpath, const char *, newpath);