You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -130,7 +129,7 @@ The following options can be appended to *`mode`* to specify more behaviors.
130
129
|**`R`**| Specifies that caching is optimized for, but not restricted to, random access from disk. |
131
130
|**`T`**| Specifies a file as temporary. If possible, it isn't flushed to disk. |
132
131
|**`D`**| Specifies a file as temporary. It's deleted when the last file pointer is closed. |
133
-
|**`ccs=encoding`**| Specifies the encoded character set to use (one of **`UTF-8`**, **`UTF-16LE`**, or `UNICODE`) for this file. Leave unspecified if you want ANSI encoding. |
132
+
|**`ccs=encoding`**| Specifies the encoded character set to use (one of **`UTF-8`**, **`UTF-16LE`**, or `UNICODE`) for this file. Leave unspecified if you want ANSI encoding. This flag is separated from flags that precede it by a comma (`,`). For example: `FILE *f = fopen("newfile.txt", "rt+, ccs=UTF-8");`|
134
133
135
134
Valid characters for the *`mode`* string that is used in **`fopen`** and **`_fdopen`** correspond to *`oflag`* arguments that are used in [`_open`](open-wopen.md) and [`_sopen`](sopen-wsopen.md), as follows.
0 commit comments