We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It'd be nice to have a configure check to test whether va_list can be copied by value, e.g.:
#include <stdarg.h> #include <stdlib.h> void f(int i, ...) { va_list args1, args2; va_start(args1, i); args2 = args1; if (va_arg(args2, int) != 42 || va_arg(args1, int) != 42) exit(1); va_end(args1); va_end(args2); } int main() { f(0, 42); return 0; }
This would be handy to conditionally disable stuff like https://github.com/koanlogic/klone/blob/master/src/libio/io.c#L637
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It'd be nice to have a configure check to test whether va_list can be copied by value, e.g.:
This would be handy to conditionally disable stuff like https://github.com/koanlogic/klone/blob/master/src/libio/io.c#L637
The text was updated successfully, but these errors were encountered: