Definition of the gruiformes are inland marsh-dwelling birds with long legs and necks and bills that wade in water in search of food: cranes; rails; bustards .