PageRenderTime 54ms CodeModel.GetById 50ms app.highlight 3ms RepoModel.GetById 0ms app.codeStats 0ms

/strasm.h

http://github.com/titouanc/strasm
C Header | 34 lines | 16 code | 15 blank | 3 comment | 0 complexity | e079c1b5ffdf9e13b414f5838942fdbb MD5 | raw file
 1#ifndef DEFINE_STRASM_HEADER
 2#define DEFINE_STRASM_HEADER
 3
 4/*
 5 * All those functions conform to their manual page without 'asm' suffix
 6 */
 7
 8extern unsigned int strlenasm(const char *str);
 9
10extern char *strcpyasm(char *dest, const char *src);
11
12extern char *strncpyasm(char *dest, const char *src, unsigned int n);
13
14extern char *strdupasm(const char *src);
15
16extern char *strcatasm(char *dest, const char *src);
17
18extern char *strncatasm(char *dest, const char *src, unsigned int n);
19
20extern int strcmpasm(const char *s1, const char *s2);
21
22extern int strncmpasm(const char *s1, const char *s2, unsigned int n);
23
24extern char *strchrasm(const char *haystack, char needle);
25
26extern char *strrchrasm(const char *haystack, char needle);
27
28extern char *strpbrkasm(const char *haystack, const char *needles);
29
30extern char *strstrasm(const char *haystack, const char *needle);
31
32extern char *strnstrasm(const char *haystack, const char *needle, unsigned int n);
33
34#endif