comparison direct/python/yaffs_python_helper.c @ 320:e239e0b8c57d

Full change over to ctypes
author charles
date Tue, 13 Oct 2009 00:05:49 +0100
parents 3ef58b114b5e
children
comparison
equal deleted inserted replaced
319:3ef58b114b5e 320:e239e0b8c57d
32 printf( "O_RDONLY.......%d\n",O_RDONLY); 32 printf( "O_RDONLY.......%d\n",O_RDONLY);
33 printf( "O_WRONLY.......%d\n",O_WRONLY); 33 printf( "O_WRONLY.......%d\n",O_WRONLY);
34 printf( "O_RDWR.........%d\n",O_RDWR); 34 printf( "O_RDWR.........%d\n",O_RDWR);
35 printf( "O_TRUNC........%d\n",O_TRUNC); 35 printf( "O_TRUNC........%d\n",O_TRUNC);
36 36
37 printf( "sizeof(off_t)..%d\n",sizeof(off_t));
37 return 0; 38 return 0;
38 } 39 }
39 40
40 int yaffs_O_CREAT(void) { return O_CREAT;} 41 int yaffs_O_CREAT(void) { return O_CREAT;}
41 int yaffs_O_RDONLY(void) { return O_RDONLY;} 42 int yaffs_O_RDONLY(void) { return O_RDONLY;}