Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ compare_strings
Function
compare_strings
test/fs/test_nodefs_readdir.c:7–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
#include <string.h>
6
7
int compare_strings(const void* a, const void* b) {
8
return strcmp(*(const char**)a, *(const char**)b);
9
}
10
11
void list_dir(const char *path) {
12
char* entries[64];
Callers
nothing calls this directly
Calls
1
strcmp
Function · 0.85
Tested by
no test coverage detected