source: trunk/minix/lib/posix/_mount.c@ 10

Last change on this file since 10 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 328 bytes
Line 
1#include <lib.h>
2#define mount _mount
3#include <string.h>
4#include <unistd.h>
5
6PUBLIC int mount(special, name, rwflag)
7char *name, *special;
8int 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.