home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boston 2
/
boston-2.iso
/
DOS
/
PROGRAM
/
C
/
JAZLIB
/
JZRGTJST.C
< prev
next >
Wrap
Text File
|
1993-12-01
|
361b
|
21 lines
char *jzrgtjst(fstr,flen)
char *fstr;
int flen;
{
static char wbuf[256];
int len,w;
char wtemp[256];
strcpy(wtemp,fstr);
w = strlen(wtemp);
len = w-1;
if (wtemp[len] == ' ') {
do len --; while(wtemp[len] == ' ');
wtemp[++len] = 0;
}
sprintf(wbuf,"%s%s",jzpad(flen - strlen(wtemp),' '),wtemp);
return(wbuf);
}