library/comms.c
static int unpack_svec(sv *sv, int size)
{
  int ch, seg;

  ch = seg = 0;
  sv->svec[seg++] = sv->buffer;
  while (ch < size) {
    if (sv->buffer[ch++])  continue;
    sv->svec[seg++] = sv->buffer+ch;
  }
  sv->svec[--seg] = NULL;
  return seg;
}
// Unpack string vector written by write_sv
Unpack string vector written by write_sv
Unpack string vector written by write_sv
static int unpack_svec(sv *sv, int size)
{
  int ch, seg;
  ch = seg = 0;
  sv->svec[seg++] = sv->buffer;
  while (ch < size) {
    if (sv->buffer[ch++])  continue;
    sv->svec[seg++] = sv->buffer+ch;
  }
  sv->svec[--seg] = NULL;
  return seg;
}
static int unpack_svec ( sv * sv , int size ) { int ch , seg ; ch = seg = 0 ; sv -> svec [ seg ++ ] = sv -> buffer ; while ( ch < size ) { if ( sv -> buffer [ ch ++ ] ) continue ; sv -> svec [ seg ++ ] = sv -> buffer + ch ; } sv -> svec [ -- seg ] = NULL ; return seg ; }
Unpack string vector written by write_sv
Unpack string vector written by write_sv