prism2.device: fix strict aliasing issue detected with gcc 4.8.3
[AROS.git] / compiler / posixc / link.c
blob39fdf9e1cd5d1cb2ea80e5b8ffd03101360afd44
1 /*
2 Copyright © 2004-2012, The AROS Development Team. All rights reserved.
3 $Id$
5 POSIX.1-2008 function link().
6 */
8 #include <errno.h>
10 /*****************************************************************************
12 NAME */
14 #include <unistd.h>
16 int link(
18 /* SYNOPSIS */
19 const char *oldpath,
20 const char *newpath)
22 /* FUNCTION
24 INPUTS
26 RESULT
28 NOTES
29 Not implemented.
31 EXAMPLE
33 BUGS
35 SEE ALSO
37 INTERNALS
39 ******************************************************************************/
41 /* TODO: Implement link() */
42 errno = EPERM;
43 return -1;
44 } /* link */