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

Function fxCountMachines

tools/serial2xsbug/serial2xsbug_lin.c:72–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void fxCountMachines(txSerialTool self)
73{
74 txSerialMachine machine = self->firstMachine;
75 self->count = 1;
76 while (machine) {
77 self->fds[self->count].fd = machine->networkConnection;
78 self->fds[self->count].events = POLLIN;
79 self->fds[self->count].revents = 0;
80 self->count++;
81 machine = machine->nextMachine;
82 }
83}
84
85txSerialMachine fxOpenNetwork(txSerialTool self, uint32_t value)
86{

Callers 2

fxCloseNetworkFunction · 0.70
fxOpenNetworkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected