Add SCML for fadvise64
This commit is contained in:
parent
f248b83ecc
commit
cdf4ff398d
|
|
@ -241,7 +241,7 @@ which are summarized in the table below.
|
|||
| 218 | set_tid_address | ✅ | 💯 |
|
||||
| 219 | restart_syscall | ❌ | N/A |
|
||||
| 220 | semtimedop | ✅ | [⚠️](syscall-flag-coverage/inter-process-communication/#semop-and-semtimedop) |
|
||||
| 221 | fadvise64 | ✅ | ❓ |
|
||||
| 221 | fadvise64 | ✅ | [⚠️](syscall-flag-coverage/file-descriptor-and-io-control/#fadvise64) |
|
||||
| 222 | timer_create | ✅ | [⚠️](syscall-flag-coverage/signals-and-timers/#timer_create) |
|
||||
| 223 | timer_settime | ✅ | 💯 |
|
||||
| 224 | timer_gettime | ✅ | 💯 |
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<!--
|
||||
Put system calls such as
|
||||
dup, dup2, dup3, fcntl, ioctl, pipe, pipe2, splice, tee, vmsplice, sendfile,
|
||||
eventfd, eventfd2 and memfd_create
|
||||
eventfd, eventfd2, memfd_create and fadvise64
|
||||
under this category.
|
||||
-->
|
||||
|
||||
|
|
@ -86,6 +86,25 @@ Unsupported flags:
|
|||
For more information,
|
||||
see [the man page](https://man7.org/linux/man-pages/man2/memfd_create.2.html).
|
||||
|
||||
### `fadvise64`
|
||||
|
||||
Supported functionality in SCML:
|
||||
|
||||
```c
|
||||
{{#include fadvise64.scml}}
|
||||
```
|
||||
|
||||
Silently-ignored flags:
|
||||
* `POSIX_FADV_NORMAL`
|
||||
* `POSIX_FADV_RANDOM`
|
||||
* `POSIX_FADV_SEQUENTIAL`
|
||||
* `POSIX_FADV_WILLNEED`
|
||||
* `POSIX_FADV_DONTNEED`
|
||||
* `POSIX_FADV_NOREUSE`
|
||||
|
||||
For more information,
|
||||
see [the man page](https://man7.org/linux/man-pages/man2/posix_fadvise.2.html).
|
||||
|
||||
### `epoll_ctl`
|
||||
|
||||
Supported functionality in SCML:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
// Announce an intention to access file data in a specific pattern in the future
|
||||
fadvise64(fd, offset, len, advice = 0);
|
||||
Loading…
Reference in New Issue