summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regex.3
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-07-12 06:07:26 +0000
committertjr <tjr@FreeBSD.org>2004-07-12 06:07:26 +0000
commitdf5304b63cb13fff0de92961ba80dea84c5c552c (patch)
tree4c57e10772c5dc370c73b755520de78894fdc57b /lib/libc/regex/regex.3
parent57e7de678f860b94b4ec21acf2e49439019e3e7f (diff)
downloadFreeBSD-src-df5304b63cb13fff0de92961ba80dea84c5c552c.zip
FreeBSD-src-df5304b63cb13fff0de92961ba80dea84c5c552c.tar.gz
Add a new error code, REG_ILLSEQ, to indicate that a regular expression
contains an illegal multibyte character sequence.
Diffstat (limited to 'lib/libc/regex/regex.3')
-rw-r--r--lib/libc/regex/regex.34
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3
index d0a9837..11b29a4 100644
--- a/lib/libc/regex/regex.3
+++ b/lib/libc/regex/regex.3
@@ -36,7 +36,7 @@
.\" @(#)regex.3 8.4 (Berkeley) 3/20/94
.\" $FreeBSD$
.\"
-.Dd July 6, 2004
+.Dd July 12, 2004
.Dt REGEX 3
.Os
.Sh NAME
@@ -652,6 +652,8 @@ empty (sub)expression
can't happen - you found a bug
.It Dv REG_INVARG
invalid argument, e.g.\& negative-length string
+.It Dv REG_ILLSEQ
+illegal byte sequence (bad multibyte character)
.El
.Sh HISTORY
Originally written by
OpenPOWER on IntegriCloud