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