S.C. Code Ann. § 17-17-110
After the circuit court adjourns any person detained may have a writ of habeas corpus, according to the direction and intention of this chapter.