lib/fs/readlink/readlinknul.h: READLINKNUL(): Add macro

Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar 2024-07-03 03:08:59 +02:00 committed by Serge Hallyn
parent 419ce14b6f
commit d78d1c2fd7

View File

@ -15,6 +15,10 @@
#include <unistd.h> #include <unistd.h>
#include "attr.h" #include "attr.h"
#include "sizeof.h"
#define READLINKNUL(link, buf) readlinknul(link, buf, NITEMS(buf))
ATTR_STRING(1) ATTR_STRING(1)