ioctl() IOCTL_STAT command

This commit is contained in:
2025-09-14 19:30:20 +02:00
parent 26ff717b50
commit 69e23a9ca3
5 changed files with 71 additions and 2 deletions

View File

@ -1,6 +1,14 @@
#ifndef ULIB_UTIL_UTIL_H_
#define ULIB_UTIL_UTIL_H_
#include <string/string.h>
#define ARRLEN(X) (sizeof((X))/sizeof((X)[0]))
#define ZERO(X) \
({ \
string_memset((X), 0, sizeof(*(X))); \
*(X); \
}) \
#endif // ULIB_UTIL_UTIL_H_