A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../algorithm/../../cpp/../cpp/../cpp/../c/io/fgetws.html below:

fgetws - cppreference.com

wchar_t* fgetws( wchar_t* str, int count, FILE* stream ); (since C95)
(until C99) wchar_t* fgetws( wchar_t* restrict str, int count, FILE* restrict stream ); (since C99)

Reads at most count - 1 wide characters from the given file stream and stores them in str. The produced wide string is always null-terminated. Parsing stops if end-of-file occurs or a newline wide character is found, in which case str will contain that wide newline character.

[edit] Parameters str - wide string to read the characters to count - the length of str stream - file stream to read the data from [edit] Return value

str on success, a null pointer on an error

[edit] Example [edit] References
[edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4