Habeas corpus


“An order in writing, signed by the judge . . . directed to any one having a person in his custody or under his restraint, commanding him to produce such person at a certain time and place, and to state the reasons why he is held in custody, or under restraint.”