| www.delorie.com/djgpp/doc/libc-2.01/libc_442.html | search |
#include <unistd.h> int link(const char *exists, const char *new);
Because of limitations of MS-DOS, this function doesn't really link two
files together. However, it simulates a real link by copying the
file at exists to new.
Zero on success, nonzero on failure.
link("foo.c", "foo.bak");
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |