vm: include no-caching bits in PTF_ALLFLAGS for flags sanity check.
[minix.git] / commands / aal / system.c
blob4529fea9768214e457a3b96bcb17efa0689fca0e
1 /*
2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
4 */
5 /* RCS: $Header$ */
7 #include <system.h>
9 File _sys_ftab[SYS_NOPEN] = {
10 { 0, OP_READ},
11 { 1, OP_APPEND},
12 { 2, OP_APPEND}
15 File *
16 _get_entry()
18 register File *fp;
20 for (fp = &_sys_ftab[0]; fp < &_sys_ftab[SYS_NOPEN]; fp++)
21 if (fp->o_flags == 0)
22 return fp;
23 return (File *)0;