diff options
Diffstat (limited to 'libsyscalls.h')
-rw-r--r-- | libsyscalls.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libsyscalls.h b/libsyscalls.h index 382022b..f2d5fdd 100644 --- a/libsyscalls.h +++ b/libsyscalls.h @@ -2604,6 +2604,7 @@ libsyscalls_get_syscall(enum libsyscalls_os, enum libsyscalls_arch, long long in * @param errors_out Output parameter for the error list (may be NULL, never filled with NULL) * @param num_errors_out Output parameter for the number of errors returned in `*errors_out` (may be NULL) * (if `errors_out` is NULL, the number that would be returned is stored) + * @param are_signed_out Output parameter for whether the error numbers are signed (may be NULL) * @return LIBSYSCALLS_E_OK - On success * LIBSYSCALLS_E_OSNOSUP - The library is not compiled with support for * the selected operating system (`os`) @@ -2616,9 +2617,9 @@ libsyscalls_get_syscall(enum libsyscalls_os, enum libsyscalls_arch, long long in * is not supported, however it may be successful even if the * architecture (`arch`) not supported */ -LIBSYSCALLS_GCC_ATTRIBUTES_(__access__(__write_only__, 3), __access__(__write_only__, 4)) +LIBSYSCALLS_GCC_ATTRIBUTES_(__access__(__write_only__, 3), __access__(__write_only__, 4), __access__(__write_only__, 5)) enum libsyscalls_error -libsyscalls_get_syscall_errors(enum libsyscalls_os, enum libsyscalls_arch, const struct libsyscalls_named_number **, size_t *); +libsyscalls_get_syscall_errors(enum libsyscalls_os, enum libsyscalls_arch, const struct libsyscalls_named_number **, size_t *, int *); /** * Get the system signals defined by an operating system @@ -2634,6 +2635,7 @@ libsyscalls_get_syscall_errors(enum libsyscalls_os, enum libsyscalls_arch, const * @param signals_out Output parameter for the signal list (may be NULL, never filled with NULL) * @param num_signals_out Output parameter for the number of signals returned in `*signals_out` (may be NULL) * (if `signals_out` is NULL, the number that would be returned is stored) + * @param are_signed_ out Output parameter for whether the signal numbers are signed (may be NULL) * @return LIBSYSCALLS_E_OK - On success * LIBSYSCALLS_E_OSNOSUP - The library is not compiled with support for * the selected operating system (`os`) @@ -2646,9 +2648,9 @@ libsyscalls_get_syscall_errors(enum libsyscalls_os, enum libsyscalls_arch, const * is not supported, however it may be successful even if the * architecture (`arch`) not supported */ -LIBSYSCALLS_GCC_ATTRIBUTES_(__access__(__write_only__, 3), __access__(__write_only__, 4)) +LIBSYSCALLS_GCC_ATTRIBUTES_(__access__(__write_only__, 3), __access__(__write_only__, 4), __access__(__write_only__, 5)) enum libsyscalls_error -libsyscalls_get_signals(enum libsyscalls_os, enum libsyscalls_arch, const struct libsyscalls_named_number **, size_t *); +libsyscalls_get_signals(enum libsyscalls_os, enum libsyscalls_arch, const struct libsyscalls_named_number **, size_t *, int *); /** * Get system call information tweak for the arguments passed |