git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Unifying External Interrupt System (#51)
[lunaix-os.git]
/
lunaix-os
/
tests
/
units
/
stubs
/
includes
/
klibc
/
string.h
1
#ifndef __LUNAIX_STRING_H
2
#define __LUNAIX_STRING_H
3
4
#include <string.h>
5
6
static inline int
7
streq(const char* a, const char* b)
8
{
9
return strcmp(a, b) == 0;
10
}
11
12
static inline int
13
strneq(const char* a, const char* b, unsigned long n)
14
{
15
return strcmp(a, b) != 0;
16
}
17
18
#endif /* __LUNAIX_STRING_H */