1
0
mirror of https://github.com/0Nera/BMOSP.git synced 2025-04-07 08:53:19 +03:00

18 lines
340 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* modstd.c
* Стандартная библиотека модулей
*
* Вспомогательные функции для работы с модулями
*
*/
#include <modstd.h>
int m_strcmp(const char *s1, const char *s2) {
while (*s1 == *s2) {
if (*s1 == '\0') { return 0; }
s1++;
s2++;
}
return *s1 - *s2;
}