library/comms.c
int read_sv(int fd, sv *sv)
{
  int size, count;

  readn(fd, &count, sizeof (int));
  sv->svec = xmalloc(++count * sizeof (char *));
  size = read_block(fd, &(sv->buffer));
  if (size > 0)  unpack_svec(sv, size);
  return size;
}
// Read string vector from file descriptor
Read string vector from file descriptor
Read string vector from file descriptor
int read_sv(int fd, sv *sv)
{
  int size, count;
  readn(fd, &count, sizeof (int));
  sv->svec = xmalloc(++count * sizeof (char *));
  size = read_block(fd, &(sv->buffer));
  if (size > 0)  unpack_svec(sv, size);
  return size;
}
int read_sv ( int fd , sv * sv ) { int size , count ; readn ( fd , & count , sizeof ( int ) ) ; sv -> svec = xmalloc ( ++ count * sizeof ( char * ) ) ; size = read_block ( fd , & ( sv -> buffer ) ) ; if ( size > 0 ) unpack_svec ( sv , size ) ; return size ; }
Read string vector from file descriptor
Read string vector from file descriptor