File: string.h

package info (click to toggle)
gbdk 2.0.17-3
  • links: PTS
  • area: non-free
  • in suites: potato
  • size: 8,472 kB
  • ctags: 9,307
  • sloc: ansic: 42,333; asm: 7,010; makefile: 912; yacc: 375; awk: 154; csh: 144; sh: 59
file content (46 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (2)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef _STRING_H
#define _STRING_H

#include <types.h>

void *
memset(void *s1,
       UBYTE c, 
       UWORD n);

void *
memcpy(void *s1,
       const void *s2,
       UWORD n);

char *
strcat(char *s1,
       const char *s2);

BYTE
strcmp(const char *s1,
       const char *s2);

char *
strcpy(char *s1,
       const char *s2);

BYTE
strlen(const char *s);

char *
strncat(char *s1,
	const char *s2,
	UBYTE n);

BYTE
strncmp(const char *s1,
	const char *s2,
	UBYTE n);

char *
strncpy(char *s1,
	const char *s2,
	UBYTE n);

#endif /* _STRING_H */