File: xstring.h

package info (click to toggle)
bibclean 2.11.4-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 5,212 kB
  • ctags: 1,545
  • sloc: ansic: 10,737; makefile: 817; perl: 66; sh: 40; awk: 27; sed: 6
file content (18 lines) | stat: -rw-r--r-- 559 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef XSTRING_H_DEFINED_
#define XSTRING_H_DEFINED_

#ifdef HAVE_STRING_H
#include <string.h>
#else
#endif

extern void	Memmove ARGS((void *target_, const void *source_, size_t n_));
extern void	*Memset ARGS((void *target_, int value_, size_t n_));
extern char	*Strdup ARGS((const char *));
extern int	stricmp ARGS((const char *, const char *));
extern char	*stristr ARGS((const char *s_, const char *sub_));
extern int	strnicmp ARGS((const char *s1_, const char *s2_, size_t n_));

#define STREQUAL(a,b)	(strcmp(a,b) == 0)

#endif /* XSTRING_H_DEFINED_ */