home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
PPPBCKP
/
SRC
/
SRC15B85.ZIP
/
WATTSRC.ZIP
/
ELIB
/
ISSTRING.C
< prev
next >
Wrap
Text File
|
1994-11-28
|
387b
|
19 lines
#include <stdio.h>
#include <ctype.h>
#include <string.h>
int isstring( char *string, unsigned stringlen )
{
if ( (unsigned) strlen( string ) > stringlen - 1 ) return( 0 );
while ( *string ) {
if ( !isprint( *string++ )) {
string--;
if ( !isspace( *string++ ))
return( 0 );
}
}
return( 1 );
}