-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFunc.h
45 lines (40 loc) · 1.86 KB
/
Func.h
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
/*
**********************************************************************
* Copyright (C) 2016 STRING LIBRARY Amatullah Sethjiwala (111503007)
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*********************************************************************** */
char* mymemchr(char *str, char *ch, int no);
int mymemcmp(char *str1, char *str2, int n);
void mymemcpy(char *dest, char *src, int n);
void mymemmove(char *dest, char *src, int n);
void mymemset(char *str, char *ch, int n);
void myswab(char *src, char *dest, int len);
char* mystpcpy(char *dest, char *src);
char* mystpncpy(char *dest, char *src, int n);
char* mystrdup(char *src);
char* mystrndup(char *src, int n);
int mystrlen(char *str);
char* mystrfry(char *str);
char* mystrcat(char *dest, char *src);
char* mystrchr(char *str, char *ch);
int mystrcmp(char *str1, char *str2);
char* mystrcpy(char *dest, char *src);
int mystrcspn(char *str1, char *str2);
char* mystrncat(char *dest, char *src, int n);
int mystrncmp(char *str1, char *str2, int n);
char* mystrncpy(char *dest, char *src, int n);
char* mystrpbrk(char *str1, char *str2);
char* mystrrchr(char *str, char *ch);
char* mystrchrnul(char *str, char ch);
int mystrspn(char *str1, char *str2);
char* mystrstr(char *str1, char *str2);
char* mystrtok(char *str, char *delim);