From f20b10ee7b0568ff800588579c7f74ca74f0c23f Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 26 Jul 2016 13:35:56 -0500 Subject: Move regexec0 into lib (regexec that takes length and matches after NUL). --- lib/lib.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/lib.h') diff --git a/lib/lib.h b/lib/lib.h index f97940a8..c3aa7e72 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -218,6 +218,8 @@ struct passwd *bufgetpwuid(uid_t uid); struct group *bufgetgrgid(gid_t gid); int readlinkat0(int dirfd, char *path, char *buf, int len); int readlink0(char *path, char *buf, int len); +int regexec0(regex_t *preg, char *string, long len, int nmatch, + regmatch_t pmatch[], int eflags); #define HR_SPACE 1 // Space between number and units #define HR_B 2 // Use "B" for single byte units -- cgit v1.2.3