@@ -2019,11 +2019,17 @@ The file is created if it does not exist.
20192019
20202020* ` 'ax' ` - Like ` 'a' ` but fails if ` path ` exists.
20212021
2022+ * ` 'as' ` - Open file for appending in synchronous mode.
2023+ The file is created if it does not exist.
2024+
20222025* ` 'a+' ` - Open file for reading and appending.
20232026The file is created if it does not exist.
20242027
20252028* ` 'ax+' ` - Like ` 'a+' ` but fails if ` path ` exists.
20262029
2030+ * ` 'as+' ` - Open file for reading and appending in synchronous mode.
2031+ The file is created if it does not exist.
2032+
20272033` mode ` sets the file mode (permission and sticky bits), but only if the file was
20282034created. It defaults to ` 0o666 ` (readable and writable).
20292035
@@ -3907,11 +3913,17 @@ The file is created if it does not exist.
39073913
39083914* ` 'ax' ` - Like ` 'a' ` but fails if ` path ` exists.
39093915
3916+ * ` 'as' ` - Open file for appending in synchronous mode.
3917+ The file is created if it does not exist.
3918+
39103919* ` 'a+' ` - Open file for reading and appending.
39113920The file is created if it does not exist.
39123921
39133922* ` 'ax+' ` - Like ` 'a+' ` but fails if ` path ` exists.
39143923
3924+ * ` 'as+' ` - Open file for reading and appending in synchronous mode.
3925+ The file is created if it does not exist.
3926+
39153927` mode ` sets the file mode (permission and sticky bits), but only if the file was
39163928created. It defaults to ` 0o666 ` (readable and writable).
39173929
0 commit comments