add opendir alias
[minix.git] / lib / libpuffs / table.c
blob50f5bddb693e4cbed54b3d89bd9ba5002d5702db
1 /* This file contains the table used to map system call numbers onto the
2 * routines that perform them.
4 * Created (MFS based):
5 * February 2010 (Evgeniy Ivanov)
6 */
8 #define _TABLE
10 #include "fs.h"
12 int (*fs_call_vec[])(void) = {
13 no_sys, /* 0 not used */
14 no_sys, /* 1 */ /* Was: fs_getnode */
15 fs_putnode, /* 2 */
16 fs_slink, /* 3 */
17 fs_ftrunc, /* 4 */
18 fs_chown, /* 5 */
19 fs_chmod, /* 6 */
20 fs_inhibread, /* 7 */
21 fs_stat, /* 8 */
22 fs_utime, /* 9 */
23 fs_fstatfs, /* 10 */
24 fs_breadwrite, /* 11 */
25 fs_breadwrite, /* 12 */
26 fs_unlink, /* 13 */
27 fs_unlink, /* 14 */
28 fs_unmount, /* 15 */
29 fs_sync, /* 16 */
30 fs_new_driver, /* 17 */
31 fs_flush, /* 18 */
32 fs_readwrite, /* 19 */
33 fs_readwrite, /* 20 */
34 fs_mknod, /* 21 */
35 fs_mkdir, /* 22 */
36 fs_create, /* 23 */
37 fs_link, /* 24 */
38 fs_rename, /* 25 */
39 fs_lookup, /* 26 */
40 fs_mountpoint, /* 27 */
41 fs_readsuper, /* 28 */
42 no_sys, /* 29 */ /* Was: fs_newnode */
43 fs_rdlink, /* 30 */
44 fs_getdents, /* 31 */
45 fs_statvfs, /* 32 */