home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR9
/
TVTOOLS.ZIP
/
ACTLIB.ZIP
/
STRINGS.ZIP
/
ISALNUM.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-25
|
531b
|
26 lines
/* Copyright (C) 1993 Marc Stern (internet: stern@mble.philips.be) */
#include "strings.h"
#include <ctype.h>
/***
* Function : strisalnum
*
* Description : Tests if a string contains only alphanumerical character
*
* Parameters : in char *string
*
* Return : 1 if string contains only alphanumerical characters.
* 0 otherwise
*
* OS/Compiler : All
***/
int strisalnum( char *string )
{
while ( isalnum(*string++) );
return( ! *--string );
}