Something wrong here. PS_NUM_APIS is 10, so argc can never be both less than 6 and more than 10. Did you mean ||?