sync is the kernel system call that flushes changed filesystem buffer blocks to disk. The related command may be called as sync or flush in cLIeNUX. A sudden power-off will usually cause a mess with everything that was in the buffers and not sync'ed before the power dropped.

the command
the syscall
the syscall