/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* regerror: map error number to text string
*
* Copyright 1985, 1992 by Mortice Kern Systems Inc. All rights reserved.
*
*/
/*
* "1.28 1994/11/07 14:40:06 jeffhe Exp $";
*/
#ifndef _REGERROR_MSG_H
#define _REGERROR_MSG_H
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* This string array holds the error message strings for
* the regerror() function. The method function implemented in
* libc_i18n strongly depends on this array. Do not modify this
* array without synchronizing with the method function.
* Also, the _MSG macro is used to extract the message strings
* for the gettext() messaging by the makelibccatalog.sh script.
*/
static const char *regerrors[] = {
_MSG("newline found before end of pattern"),
/* 4: REG_ENEWLINE */
"", /* 5: REG_ENSUB (OBS) */
_MSG("?, *, +, or { } not preceded by valid regular expression"),
/* 12: REG_BADRPT */
_MSG("contents of { } or \\{ \\} invalid"),
/* 15: REG_BADBR */
_MSG("backtrack stack overflow: expression generates too many "
"alternatives"), /* 18: REG_STACK */
_MSG("^ anchor not at beginning of pattern"),
/* 21: REG_EBOL */
};
#endif /* _REGERROR_MSG_H */