Any of the judges of this State, in vacation time and out of term, upon view of the copy of the warrant of commitment and detainer or otherwise and upon oath made that such copy was denied to be given by the person in whose custody the prisoner is detained, shall, upon request made in writing by such person as is committed as aforesaid or any on his behalf, attested and subscribed by two witnesses who were present at the delivery of the request, award and grant a writ of habeas corpus, under the seal of such court, whereof he shall be one of the judges.
S.C. Code § 17-17-30