File: stringops.h

package info (click to toggle)
delo 0.8-2.5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 476 kB
  • ctags: 1,272
  • sloc: ansic: 4,027; makefile: 200; sh: 141; asm: 55
file content (30 lines) | stat: -rw-r--r-- 1,235 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * This file is licensed under the terms of the GNU General Public License,
 * version 2. See the file COPYING in the main directory for details.
 * 
 *  Copyright (C) 2002,2003  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
 */

#ifndef SIZE_T_DEFINED
typedef unsigned long int size_t;
# define SIZE_T_DEFINED
#endif

extern void *memset(void *s, int c, size_t count);
extern void *memcpy(void *dest, const void *src, size_t count);
extern int memcmp(const void *cs, const void *ct, size_t count);
extern char *strcpy(char *dest, const char *src);
extern char *strncpy(char *dest, const char *src, int count);
extern char *strcat(char *dest, const char *src);
extern char *strncat(char *dest, const char *src, int n);
extern int strcmp(const char *cs, const char *ct);
extern int strncmp(const char *cs, const char *ct, int count);
extern char *strchr(const char *s, int c);
extern char *strrchr(const char *s, int c);
extern unsigned int strlen(const char *s);
extern char *strdup(const char *str);
extern int tolower(int c);
extern int strcasecmp(const char *cs, const char *ct);
extern int strncasecmp(const char *cs, const char *ct, size_t n);
extern char *strstr(const char *s1, const char *s2);
extern int isdigit(char c);