How to exit from Lua

Hi, I would like to know to exit the game from Lua
thanks!

mee too

why no one answer this question:(

I found it
CCDirector:sharedDirector():endToLua()

For iOS devices,call this funcion would lead to crash because iOS devicesā€˜s exit mechanism is special.