home *** CD-ROM | disk | FTP | other *** search
- static char sccs_id[] = "@(#) link.c 2.0 " __DATE__ " HJR";
-
- /* link.c (c) Copyright 1990 H.Rogers */
-
- #include <errno.h>
-
- #include "sys/unix.h"
- #include "sys/os.h"
-
- int
- link (register char *ofile, register char *nfile)
- {
- os_error *e;
-
- ofile = __uname (ofile, 0);
- nfile = __uname (nfile, 1);
-
- if (e = os_fsctrl (25, ofile, nfile, 0))
- {
- __seterr (e);
- return (-1);
- }
- return (0);
- }
-