{
va_list ap;
va_start (ap, flags);
mode = va_arg (ap, mode_t);
mode = va_arg (ap, int);
va_end (ap);
}