/
githubmirror
/
net-tools
Обзор
Документация
Войти
/
githubmirror
/
net-tools
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v1.60
lib/util.h
15 строк
335 B
Klaas Freitag
- Allow device probing again (this should fix the problem Arnaldo de Melo
17 ноя 1998, 18:16
17 ноя 1998, 18:16
8e30424
Код
Авторство
О чём код?
#include <stddef.h> void *xmalloc(size_t sz); void *xrealloc(void *p, size_t sz); #define new(p) ((p) = xmalloc(sizeof(*(p)))) int kernel_version(void); #define KRELEASE(maj,min,patch) ((maj) * 10000 + (min)*1000 + (patch)) int nstrcmp(const char *, const char *); char *safe_strncpy(char *dst, const char *src, size_t size);