ioctl() IOCTL_STAT command
This commit is contained in:
@ -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_
|
||||
|
Reference in New Issue
Block a user