delorie.com/djgpp/doc/libc/libc_531.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#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.
ANSI/ISO C | No |
POSIX | 1003.2-1992; 1003.1-2001 |
link("foo.c", "foo.bak"); |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |