LibC: Support the 'x' mode in the fopen family

This commit is contained in:
Lucas Chollet authored and Nico Weber committed 2026-08-24 20:19:46 -04:00
1 parent 78bf9db1a3
commit 532f2ddd34
1 file changed
+3
+3
View File
@@ -1059,6 +1059,9 @@ static int parse_mode(char const* mode)
case 't':
// Ok...
break;
case 'x':
flags |= O_EXCL;
break;
default:
dbgln("Potentially unsupported fopen mode _{}_ (because of '{}')", mode, *ptr);
}