home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
C
/
JAZLIB
/
TABTOSP.C
< prev
next >
Wrap
Text File
|
1993-12-01
|
288b
|
19 lines
char *tabtosp(fsource,fdestin)
char *fsource,*fdestin;
{
int w;
w = 0;
while (*fsource) {
if (*fsource == 9)
do
fdestin[w] = ' ';
while (++w % 8);
else
fdestin[w++] = *fsource;
fsource++;
}
fdestin[w] = 0;
return(fdestin);
}