Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::fgetws(3)		      C++ Standard Libary		std::fgetws(3)

NAME
       std::fgetws - std::fgetws

Synopsis
	  Defined in header <cwchar>
	  wchar_t* fgetws( wchar_t* str, int count, std::FILE* stream );

	  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.

Parameters
	  str	 - wide	string to read the characters to
	  count	 - the length of str
	  stream - file	stream to read the data	from

Return value
	  str on success, a null pointer on an error

See also
	  wscanf  reads	formatted wide character  input	 from  stdin,  a  file
       stream or a buffer
	  fwscanf (function)
	  swscanf
	  fgetwc  gets a wide character	from a file stream
	  getwc	  (function)
	  fputws  writes a wide	string to a file stream
		  (function)

http://cppreference.com		  2022.07.31			std::fgetws(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::fgetws&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help