syscall.sh / sparc / fdatasync
fdatasync
synchronize a file's in-core state with storage device
sys_fdatasync(unsigned int fd)
| number | 253 (0xfd) |
|---|---|
| abi | common |
| entry point | sys_fdatasync |
| since | Linux 5.0 |
| man page | fdatasync(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 253, the syscall number |
o0 | unsigned int fd |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x64 75
- x86 148
- arm64 83
- arm 148
- 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
- sparc64 253
- xtensa 27
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/fdatasync