MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxWriteNetwork

Function fxWriteNetwork

tools/serial2xsbug/serial2xsbug_lin.c:247–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245
246
247void fxWriteNetwork(txSerialMachine machine, char* buffer, int size)
248{
249 txSerialTool self = machine->tool;
250 int count;
251 while (size) {
252 count = write(machine->networkConnection, buffer, size);
253 mxThrowElse(count > 0);
254 buffer += count;
255 size -= count;
256 }
257}
258
259void fxWriteSerial(txSerialTool self, char* buffer, int size)
260{

Callers

nothing calls this directly

Calls 1

writeFunction · 0.50

Tested by

no test coverage detected