00001 #include "adio.h" 00002 00003 int ADIOI_GEN_Feature(ADIO_File fd, int flag) 00004 { 00005 switch(flag) { 00006 case ADIO_LOCKS: 00007 case ADIO_SHARED_FP: 00008 case ADIO_ATOMIC_MODE: 00009 case ADIO_DATA_SIEVING_WRITES: 00010 case ADIO_UNLINK_AFTER_CLOSE: 00011 return 1; 00012 break; 00013 case ADIO_SCALABLE_OPEN: 00014 default: 00015 return 0; 00016 break; 00017 } 00018 }