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

Function send

modules/data/mp3/libmad/decoder.c:198–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198static
199enum mad_flow send(int fd, void const *message, unsigned int size)
200{
201 enum mad_flow result;
202
203 /* send size */
204
205 result = send_io(fd, &size, sizeof(size));
206
207 /* send message */
208
209 if (result == MAD_FLOW_CONTINUE)
210 result = send_io(fd, message, size);
211
212 return result;
213}
214
215static
216enum mad_flow receive(int fd, void **message, unsigned int *size)

Callers 10

doFlushWriteFunction · 0.85
doFlushWriteFunction · 0.85
doFlushWriteFunction · 0.85
check_messageFunction · 0.85
mad_decoder_messageFunction · 0.85
xs_tcp_writeFunction · 0.85
fxSendFunction · 0.85
fxSendFunction · 0.85
fxSendFunction · 0.85

Calls 1

send_ioFunction · 0.85

Tested by

no test coverage detected