[BACK]Return to test-isblank.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

File: [cvsweb.bsd.lv] / mandoc / test-isblank.c (download)

Revision 1.1, Thu Mar 19 14:57:29 2015 UTC (6 years, 7 months ago) by schwarze
Branch: MAIN

Compat glue needed for Solaris 9 and 10.

Thanks to Sevan Janiyan <venture37 at geeklan dot co dot uk> for
reporting the Solaris 10 issues, to Jan Holzhueter <jh at opencsw
dot org> for some additional insight, and to OpenCSW in general for
providing me with a Solaris 9/10/11 testing environment.

#include <ctype.h>

	return(!isblank(' ') || !isblank('\t') || isblank('_'));