syscall.sh / sh / fsync

fsync

synchronize a file's in-core state with storage device

sys_fsync(unsigned int fd)
number118 (0x76)
abicommon
entry pointsys_fsync
sinceLinux 5.0
man pagefsync(2)
sourceelixir.bootlin.com

Registers

registervalue
r3118, the syscall number
r4unsigned int fd
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/fsync