diff options
| author | Florent Revest <revest@chromium.org> | 2023-07-04 17:59:04 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-02-01 10:12:21 +0000 |
| commit | 810241190102eaf849f5744ca7eeb68ad34f01d7 (patch) | |
| tree | 941d2616ff4038ae1e4198ecbaa5fd708fd845eb /sys/test/csource.txt.const | |
| parent | c40f278e4d854c3b6341ec272dd3eb9b84fcff54 (diff) | |
pkg/csource: annotate syscall() args with their pretty-printed values
This factorizes const arguments into the shortest flags OR bitmask
possible so they are easy to read. E.g:
/*flags=MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE*/ 0x32ul
Diffstat (limited to 'sys/test/csource.txt.const')
| -rw-r--r-- | sys/test/csource.txt.const | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/test/csource.txt.const b/sys/test/csource.txt.const new file mode 100644 index 000000000..2c90daac7 --- /dev/null +++ b/sys/test/csource.txt.const @@ -0,0 +1,4 @@ +arches = 32_fork_shmem, 32_shmem, 64, 64_fork +BIT_0 = 1 +BIT_1 = 2 +BIT_0_AND_1 = 3 |
