repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
. pci driver now returns devices, even when they have been pci_reserve()d
[minix3.git]
/
lib
/
posix
/
_close.c
blob
be4f32390cbe5a283609ec7d350963e90277cfec
1
#include <lib.h>
2
#define close _close
3
#include <unistd.h>
4
5
PUBLIC
int
close
(
fd
)
6
int
fd
;
7
{
8
message m
;
9
10
m
.
m1_i1
=
fd
;
11
return
(
_syscall
(
FS
,
CLOSE
, &
m
));
12
}