When O_CREAT is specified, the third, variadic argument is required as the permission. If on is not passed, then depending on the ABI, either the contents of the third argument register or some arbitrary stuff on the stack will be used as the permission. This has been merged to NetBSD. Reviewed by: asomers, ngie Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D20972 |
||
---|---|---|
.. | ||
t_clearerr.c | ||
t_fflush.c | ||
t_fmemopen.c | ||
t_fopen.c | ||
t_fputc.c | ||
t_mktemp.c | ||
t_open_memstream.c | ||
t_popen.c | ||
t_printf.c | ||
t_scanf.c |