source:
trunk/minix/lib/posix/_symlink.c@
11
Last change on this file since 11 was 9, checked in by , 14 years ago | |
---|---|
File size: 313 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | #include <lib.h> |
2 | #define symlink _symlink | |
3 | #include <string.h> | |
4 | #include <unistd.h> | |
5 | ||
6 | PUBLIC int symlink(name, name2) | |
7 | _CONST char *name, *name2; | |
8 | { | |
9 | message m; | |
10 | ||
11 | m.m1_i1 = strlen(name) + 1; | |
12 | m.m1_i2 = strlen(name2) + 1; | |
13 | m.m1_p1 = (char *) name; | |
14 | m.m1_p2 = (char *) name2; | |
15 | return(_syscall(FS, SYMLINK, &m)); | |
16 | } |
Note:
See TracBrowser
for help on using the repository browser.