syscall.sh / arm / fdatasync
fdatasync
synchronize a file's in-core state with storage device
sys_fdatasync(unsigned int fd)
| number | 148 (0x94) |
|---|---|
| abi | common |
| entry point | sys_fdatasync |
| since | Linux 4.10 |
| man page | fdatasync(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 148, the syscall number |
r0 | unsigned int fd |
r0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 75
- x86 148
- arm64 83
- riscv64 83
- x32 1073741899
- loongarch64 83
- ppc64 148
- ppc 148
- s390x 148
- mips64 5073
- mipsn32 6073
- mipso32 4152
- alpha 447
- arc 83
- csky 83
- hexagon 83
- m68k 148
- microblaze 148
- nios2 83
- openrisc 83
- parisc 148
- sh 148
- sparc 253
- sparc64 253
- xtensa 27
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/fdatasync