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

FreeBSD Manual Pages

  
 
  

home | help
std::basic_...buf::snextc(3)  C++ Standard Libary std::basic_...buf::snextc(3)

NAME
       std::basic_streambuf::snextc - std::basic_streambuf::snextc

Synopsis
	  int_type snextc();

	  Advances  the	 input sequence	by one character and reads one charac-
       ter.

	  The function calls sbumpc() to advance the input sequence.  If  that
       function	returns
	  Traits::eof()	 meaning  that	input  sequence	has been exhausted and
       uflow() could not
	  retrieve more	data, Traits::eof() is returned. Otherwise sgetc()  is
       called in order
	  to read the character.

Parameters
	  (none)

Return value
	  The  value of	the next character. If the input sequence has been ex-
       hausted,
	  Traits::eof()	is returned.

Example
	   This	section	is incomplete
	   Reason: no example

See also
			     reads one character from the input	sequence with-
       out advancing the
	  sgetc		     sequence
			     (public member function)
	  sbumpc	     reads one character from the input	 sequence  and
       advances	the
	  stossc	     sequence
	  (removed in C++17) (public member function)

http://cppreference.com		  2022.07.31	  std::basic_...buf::snextc(3)

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

home | help