IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 17, 2006, 5:04:25 PM (20 years ago)
Author:
eugene
Message:

added additional chars to whitespace checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libohana/include/ohana.h

    r8633 r10073  
    9393# endif /* FOPEN */
    9494
     95/*
     96  isspace is c99 : do we require c99 now?
     97  isspace()
     98   checks  for white-space characters.  In the "C" and "POSIX" locales, these are: space, form-feed ('\f'), newline ('\n'),
     99   carriage return ('\r'), horizontal tab ('\t'), and vertical tab ('\v').
     100   horiz. tab: 0x09, vert. tab: 0x0b, newline: 0x0a, form-feed: 0x0c, return: 0x0d, space: 0x20,
     101*/
     102# define OHANA_WHITESPACE(c)(((c) == 0x09) || ((c) == 0x0a) || ((c) == 0x0b) || ((c) == 0x0b) || ((c) == 0x0c) || ((c) == 0x0d) || ((c) == 0x20))
     103
    95104/* socket / pipe communication buffer */
    96105typedef struct {
Note: See TracChangeset for help on using the changeset viewer.