SYNOPSIS
#include <sys/types.h>
#include <regex.h>
size_t regerror(int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size);
DESCRIPTION
The
If preg is a null pointer, but errcode is a
value returned by a previous call to
If the errbuf_size
argument is not 0,
If errbuf_size is 0,
PARAMETERS
- errcode
-
Is the last nonzero value that
regcomp() orregexec() returns. - preg
-
Points to the given value in errcode.
- errbuf
-
Points to the errbuf_size parameter.
- errbuf_size
-
If not zero, indicates the place where
regerror() places the generated string into the errbuf_size-byte buffer that errbuf points to. If the size is zero,regerror() ignores this parameter and returns an integer value.
RETURN VALUES
If successful, the
CONFORMANCE
POSIX.2 (1996)
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.