aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2004-07-12 06:07:26 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2004-07-12 06:07:26 +0000
commit67aff1896cd6307b97a6625737bde874de2df778 (patch)
tree4c57e10772c5dc370c73b755520de78894fdc57b /include
parentfbc3247d816a6c4c77324fdbd4e9188abc46aabe (diff)
downloadsrc-67aff1896cd6307b97a6625737bde874de2df778.tar.gz
src-67aff1896cd6307b97a6625737bde874de2df778.zip
Add a new error code, REG_ILLSEQ, to indicate that a regular expression
contains an illegal multibyte character sequence.
Notes
Notes: svn path=/head/; revision=132017
Diffstat (limited to 'include')
-rw-r--r--include/regex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/regex.h b/include/regex.h
index b4e01325acdc..3c3c87fde57b 100644
--- a/include/regex.h
+++ b/include/regex.h
@@ -92,6 +92,7 @@ typedef struct {
#define REG_EMPTY 14
#define REG_ASSERT 15
#define REG_INVARG 16
+#define REG_ILLSEQ 17
#define REG_ATOI 255 /* convert name to number (!) */
#define REG_ITOA 0400 /* convert number to name (!) */