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

Method sync

dlib/sockstreambuf/sockstreambuf.h:131–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 );
130
131 int sync (
132 )
133 {
134 if (flush_out_buffer() == EOF)
135 {
136 // an error occurred
137 return -1;
138 }
139 return 0;
140 }
141
142 std::streamsize xsputn (
143 const char* s,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected