In general, positions are closed at market rate and all orders are cancelled after the close of the exchange on the trading day before Split/Reverse Split.
For more information on Corporate Actions; including calculations, please visit the Individual Equities Corporate Actions & Calculation section on the Trading Conditions page.