repo.or.cz
/
minix3-old.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added lance entry to drivers.conf.
[minix3-old.git]
/
lib
/
posix
/
_access.c
blob
a39a4079a58387afce74d329af2e67ce9df059c0
1
#include <lib.h>
2
#define access _access
3
#include <unistd.h>
4
5
PUBLIC
int
access
(
name
,
mode
)
6
_CONST
char
*
name
;
7
int
mode
;
8
{
9
message m
;
10
11
m
.
m3_i2
=
mode
;
12
_loadname
(
name
, &
m
);
13
return
(
_syscall
(
FS
,
ACCESS
, &
m
));
14
}