DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦1a757afea⟧ TextFile

    Length: 291 (0x123)
    Types: TextFile
    Names: »insertx.c«

Derivation

└─⟦87ddcff64⟧ Bits:30001253 CPHDIST85 Tape, 1985 Autumn Conference Copenhagen
    └─ ⟦this⟧ »cph85dist/wirewrap/insertx.c« 

TextFile

insertx(from,to,pos)
char *from, *to;
int pos;
{
char *p;
int l;

/* Pad with trailing blanks. */

l=strlen(to);
while(l<(pos-1))
  {
  to[l]=' ';
  l++;
  }
to[l]=0;

/* Append the from string to the to string. */

l=pos-1;
for(p=from; *p != 0; p++)
  {
  to[l] = *p;
  l++;
  }
to[l]=0;
}