Function: The rectus abdominus m.  flex the trunk if the muscles of the posterior trunk are relaxed. If not, contraction of these m. increases the intra-abdominal cavity pressure, as in an action called the 'Valsalva maneuver'.  Therefore,  the recti have an important role during coughing, defecation, and childbirth.