(Syllabus.)
1. Habeas Corpus — Writ Cannot Perform Office of Writ of Error on Appeal. The writ of habeas corpus cannot be used to perform the office of a writ of error on appeal, but is limited to cases in which the judgment and sentence of the court is clearly void.
2. Habitual Criminals — Right of Court to Sentence Defendant to Term of Ten Years After Previous Conviction of Felony. The court had the right to sentence petitioner to term of ten years in the penitentiary upon conviction of offense of burglary in second degree after previous conviction of felony. 21 O.S. 1941 § 51[ 21-51].
3. Jury — Right of Defendant in Felony Case to Waive Trial by Jury of Twelve. Under common law, and in Oklahoma prior to statehood, defendant could not waive right to be tried by jury of twelve in felony case; but since admission of state and adoption of Constitution with provision: "in all issues of fact joined in any court, all parties may waive the right to have the same determined by a jury; in which case the finding by the judge, upon the facts, shall have the force and effect of a verdict by jury;" (art. 7, § 20) the defendant may waive this right and be tried by a less number of jurors, or may waive whole panel and be tried by court.