Add STRNEQ macro function
This commit is contained in:
parent
041167d26f
commit
490ccfc3c6
@ -5,8 +5,10 @@
|
||||
#include <linux/limits.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#define STREQ(S1, S2) (strcmp(S1, S2) == 0)
|
||||
#define STRNEQ(S1, S2, COUNT) (strncmp(S1, S2, COUNT) == 0)
|
||||
|
||||
typedef struct dirwalk dirwalk_t;
|
||||
typedef struct {
|
||||
|
Loading…
Reference in New Issue
Block a user