15-10.1. Detainer; purpose; manner of use.
Any person confined in the State prison system of North Carolina, subject to the authority and control of the Division of Adult Correction and Juvenile Justice of the Department of Public Safety, or any person confined in any other prison of North Carolina, may be held to account for any other charge pending against him only upon a written order from the clerk or judge of the court in which the charge originated upon a case regularly docketed, directing that such person be held to answer the charge pending in such court; and in no event shall the prison authorities hold any person to answer any charge upon a warrant or notice when the charge has not been regularly docketed in the court in which the warrant or charge has been issued: Provided, that this section shall not apply to any State agency exercising supervision over such person or prisoner by virtue of a judgment, order of court or statutory authority.
ll