S.C. Code Ann. § 22-5-130
Whenever there shall be an indictment for any offense committed in his view the magistrate shall be the prosecutor and he shall bind in recognizance all necessary witnesses.