2014-09-30 8 views

risposta

9

La chiamata di sistema desiderata è symlink(2).

#include <unistd.h> 

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

Un collegamento simbolico name2 è stato creato per name1

+0

Grazie, questo aiuta :) –

4

È possibile chiamare 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

Grazie, questo aiuta. Nuovo alla programmazione del sistema. –

Problemi correlati