The Code of Criminal Procedure, 1973 (CrPc)
342. Power to order court.
Any court dealing with an application made to it for filing a complaint under section 340 or an appeal under section 341, shall have power to make such order as to costs as may be just.