diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-17 13:26:13 -0400 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-06-16 10:12:57 +0200 |
commit | 0d904a6edf6566ed403e75f835f7cc03829e336e (patch) | |
tree | 184e7db2c1268f74bea49c93e59210da8e695f23 /src/basic/utf8.h | |
parent | 35bd3f136e3762fe35289def573133a1d9ac8a04 (diff) |
basic/missing: move syscall definitions to basic/missing_syscall.h
We have a bunch of syscall wrapper definitions and it's easier to
see that they follow the same pattern if they are not interspersed
with other defines.
Change the wrappers to be uniform:
- if __NR_XXX is not defined, do not bother to call the syscall,
and return -1/ENOSYS immediately.
- do not check __NR_XXX defines if we detect the symbol as defined,
since we don't need them anyway
- reindent stuff for readability
New file basic/missing_syscall.h is included at the end of missing.h
because it might make use of some of the definitions in missing.h.
Diffstat (limited to 'src/basic/utf8.h')
0 files changed, 0 insertions, 0 deletions