File: isblank.c

package info (click to toggle)
ldns 1.7.0-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,416 kB
  • sloc: ansic: 43,318; python: 7,675; sh: 3,642; pascal: 2,351; perl: 2,188; makefile: 1,439; xml: 518
file content (15 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Just a replacement, if the original isblank is not
   present */

#if HAVE_CONFIG_H
#include <ldns/config.h>
#endif

int isblank(int c);

/* true if character is a blank (space or tab). C99. */
int
isblank(int c)
{
	return (c == ' ') || (c == '\t');
}