⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
EclaireXL
All Projects
EclaireXL
Overview
Activity
Issues
News
Documents
Wiki
Forums
Files
Repository
Download (321 Bytes)
Statistics
| Revision:
repo2
/
firmware
/
common
/
utils.c
@ 47
View
History
Annotate
int
strcmp
(
char
const
*
a
,
char
const
*
b
)
{
while
(
*
a
||
*
b
)
{
if
(
*
a
<*
b
)
return
-
1
;
else
if
(
*
a
>*
b
)
return
1
;
++
a
;
++
b
;
}
return
0
;
}
void
strcpy
(
char
*
dest
,
char
const
*
src
)
{
while
(
*
dest
++=*
src
++
);
}
int
strlen
(
char
const
*
a
)
{
int
count
;
for
(
count
=
0
;
*
a
;
++
a
,
++
count
);
return
count
;
}
« Previous
1
2
3
4
Next »
(2-2/4)
Loading...