Go to the first, previous, next, last section, table of contents.
#include <unistd.h> int symlink(const char *exists, const char *new);
DOS does not support symbolic links. However, DJGPP emulates them--this function creates a file with special size and format, so other DJGPP library functions transparently work with file which is pointed to by the symlink. Of course, it does not work outside DJGPP programs. Those library functions which are simple wrappers about DOS calls do not use symlinks neither.
Zero in case of success, -1 in case of failure (and errno
set to
the appropriate error code).
not ANSI, not POSIX
symlink ("c:/djgpp/bin/grep", "c:/djgpp/bin/fgrep");
Go to the first, previous, next, last section, table of contents.