South carolina constitution
Article V: judicial department
Section 20

Each of the Justices of the Supreme Court and judges of the Court of Appeals and Circuit Court and of all other courts of record shall have the same power at chambers to issue writs of habeas corpus, mandamus, quo warranto, certiorari, prohibition, and interlocutory writs or orders of injunction as when in open court. The judges of the Court of Appeals and Circuit Court and other courts of record shall have such additional powers at chambers as the General Assembly may provide, except in matters required to be determined in a public trial.