8 PUBLIC
int open(const char *name
, int flags
, ...)
10 PUBLIC
int open(name
, flags
)
18 va_start(argp
, flags
);
19 if (flags
& O_CREAT
) {
20 m
.m1_i1
= strlen(name
) + 1;
22 m
.m1_i3
= va_arg(argp
, _mnx_Mode_t
);
23 m
.m1_p1
= (char *) name
;
29 return (_syscall(FS
, OPEN
, &m
));