Module Name: src Committed By: christos Date: Thu Jan 14 20:42:03 UTC 2016
Modified Files: src/include: regex.h Log Message: add reg{,a}sub To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/include/regex.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/regex.h diff -u src/include/regex.h:1.13 src/include/regex.h:1.14 --- src/include/regex.h:1.13 Mon Sep 12 21:44:32 2005 +++ src/include/regex.h Thu Jan 14 15:42:03 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: regex.h,v 1.13 2005/09/13 01:44:32 christos Exp $ */ +/* $NetBSD: regex.h,v 1.14 2016/01/14 20:42:03 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -137,6 +137,10 @@ size_t regerror(int, const regex_t * __r int regexec(const regex_t * __restrict, const char * __restrict, size_t, regmatch_t [], int); void regfree(regex_t *); +#ifdef _NETBSD_SOURCE +ssize_t regsub(char *, size_t, const char *, const regmatch_t *, const char *); +ssize_t regasub(char **buf, const char *, const regmatch_t *, const char *); +#endif __END_DECLS #endif /* !_REGEX_H_ */