Add string similarity function

This commit is contained in:
Justine Tunney 2024-08-17 16:45:07 -07:00
parent 60e697f7b2
commit 863c704684
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
3 changed files with 53 additions and 2 deletions

View file

@ -34,7 +34,7 @@
#define MLOCK_T atomic_uint
static int malloc_wipe(MLOCK_T *lk) {
bzero(lk, sizeof(*lk));
atomic_store_explicit(lk, 0, memory_order_relaxed);
return 0;
}