How to reboot the Sipeed Longan Nano in C?

I’ve heard you can reset it with Watchdog timer, but i dont know how.