MCPcopy Create free account
hub / github.com/davisking/dlib / overflow

Method overflow

dlib/matlab/subprocess_stream.cpp:242–257  ·  view source on GitHub ↗

output functions

Source from the content-addressed store, hash-verified

240
241 // output functions
242 int_type overflow (
243 int_type c
244 )
245 {
246 if (c != EOF)
247 {
248 *pptr() = c;
249 pbump(1);
250 }
251 if (flush_out_buffer() == EOF)
252 {
253 // an error occurred
254 return EOF;
255 }
256 return c;
257 }
258
259
260 std::streamsize xsputn (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected