mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-12 14:00:01 -04:00
5 lines
No EOL
110 B
C
5 lines
No EOL
110 B
C
#include <string.h>
|
|
|
|
int starts_with(const char *a, const char *b) {
|
|
return strncmp(a, b, strlen(b)) == 0;
|
|
} |