]> git.lizzy.rs Git - plan9front.git/blob - sys/src/ape/lib/bsd/shutdown.c
ape: Add mkstemp to /sys/src/ape/lib/ap/gen/mkfile
[plan9front.git] / sys / src / ape / lib / bsd / shutdown.c
1 #include <sys/types.h>
2 #include <unistd.h>
3
4 int
5 shutdown(int fd, int how)
6 {
7         if(how == 2)
8                 close(fd);
9
10         return 0;
11 }