1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Added isblank().

git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14942 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-05-11 20:15:28 +00:00
parent ec027fa510
commit bc65dd2877
7 changed files with 65 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: ctype.h,v 1.5 2005-01-09 15:20:33 obarthel Exp $
* $Id: ctype.h,v 1.6 2005-05-11 20:15:28 obarthel Exp $
*
* :ts=4
*
@ -57,6 +57,7 @@ extern int islower(int c);
extern int isupper(int c);
extern int isspace(int c);
extern int isblank(int c);
extern int tolower(int c);
extern int toupper(int c);
@ -99,6 +100,7 @@ extern const unsigned char __ctype_table[];
#define islower(c) ((__ctype_table[(c) & 255] & __CTYPE_LOWER_CASE) != 0)
#define isupper(c) ((__ctype_table[(c) & 255] & __CTYPE_UPPER_CASE) != 0)
#define isspace(c) ((__ctype_table[(c) & 255] & __CTYPE_WHITE_SPACE) != 0)
#define isblank(c) ((c) == ' ' || (c) == '\t')
/****************************************************************************/

View File

@ -1,5 +1,5 @@
/*
* $Id: stdio.h,v 1.13 2005-05-08 17:02:16 obarthel Exp $
* $Id: stdio.h,v 1.14 2005-05-11 20:15:28 obarthel Exp $
*
* :ts=4
*
@ -377,7 +377,6 @@ extern int putchar_unlocked(int c);
extern FILE * fdopen(int file_descriptor, const char * type);
extern int fileno(FILE * file);
extern int asprintf(char **ret, const char *format, ...);
extern int snprintf(char *s,size_t size,const char *format,...);
extern int vsnprintf(char *s,size_t size,const char *format,va_list arg);
extern int pclose(FILE *stream);
extern FILE * popen(const char *command, const char *type);
@ -426,6 +425,7 @@ extern int __vasprintf(const char *file,int line,char **ret,const char *format,v
extern int vfscanf(FILE *stream, const char *format, va_list arg);
extern int vsscanf(const char *s, const char *format, va_list arg);
extern int vscanf(const char *format,va_list arg);
extern int snprintf(char *s,size_t size,const char *format,...);
/****************************************************************************/