How to reboot the Sipeed Longan Nano in C?

As far as I remember it only has a physical reboot method…