the appropriate POSIX header file in libc/include/ includes the
relevant file or files.
4. Add function declarations to the appropriate header file.
- 5. Add at least basic tests. Even a test that deliberately supplies
+ 5. Add the function name to the correct section in libc/libc.map.txt and
+ run `./libc/tools/genversion-scripts.py`.
+ 6. Add at least basic tests. Even a test that deliberately supplies
an invalid argument helps check that we're generating the right symbol
- and have the right declaration in the header file. (And strace(1) can
- confirm that the correct system call is being made.)
+ and have the right declaration in the header file, and that you correctly
+ updated the maps in step 5. (You can use strace(1) to confirm that the
+ correct system call is being made.)
Updating kernel header files