2014-09-30 17 views

Odpowiedz

9

Wymagane wywołanie systemowe to symlink(2).

#include <unistd.h> 

int symlink(const char *name1, const char *name2); 

Łącze symboliczne name2 jest stworzony do name1

+0

Dzięki, to pomaga :) –

4

Można zadzwonić symlink()

int symlink(const char *name1, const char *name2); 

A symbolic link name2 is created to name1 (name2 is the name of the file 
created, name1 is the string used in creating the symbolic link). Either 
name may be an arbitrary path name; the files need not be on the same 
file system. 
+0

Dzięki, to pomaga. Nowość w programowaniu systemu. –

Powiązane problemy