]> sourceware.org Git - glibc.git/blame - include/regex.h
Warn if user requests __FORTIFY_SOURCE but it is disabled
[glibc.git] / include / regex.h
CommitLineData
5c2a0669 1#ifndef _REGEX_H
2b83a2a4 2#include <posix/regex.h>
5c2a0669 3
31341567 4#ifndef _ISOMAC
5c2a0669 5/* Document internal interfaces. */
2d87db5b 6extern reg_syntax_t __re_set_syntax (reg_syntax_t syntax);
5c2a0669 7
2d87db5b
UD
8extern const char *__re_compile_pattern (const char *pattern, size_t length,
9 struct re_pattern_buffer *buffer);
5c2a0669 10
2d87db5b 11extern int __re_compile_fastmap (struct re_pattern_buffer *buffer);
5c2a0669 12
2d87db5b
UD
13extern int __re_search (struct re_pattern_buffer *buffer, const char *string,
14 int length, int start, int range,
15 struct re_registers *regs);
5c2a0669
UD
16
17extern int __re_search_2
2d87db5b
UD
18 (struct re_pattern_buffer *buffer, const char *string1,
19 int length1, const char *string2, int length2,
20 int start, int range, struct re_registers *regs, int stop);
5c2a0669
UD
21
22extern int __re_match
2d87db5b
UD
23 (struct re_pattern_buffer *buffer, const char *string,
24 int length, int start, struct re_registers *regs);
5c2a0669
UD
25
26extern int __re_match_2
2d87db5b
UD
27 (struct re_pattern_buffer *buffer, const char *string1,
28 int length1, const char *string2, int length2,
29 int start, struct re_registers *regs, int stop);
5c2a0669
UD
30
31extern void __re_set_registers
2d87db5b
UD
32 (struct re_pattern_buffer *buffer, struct re_registers *regs,
33 unsigned num_regs, regoff_t *starts, regoff_t *ends);
5c2a0669 34
2d87db5b 35extern int __regcomp (regex_t *__preg, const char *__pattern, int __cflags);
5c2a0669 36
2d87db5b
UD
37extern int __regexec (const regex_t *__preg, const char *__string,
38 size_t __nmatch, regmatch_t __pmatch[], int __eflags);
5c2a0669 39
2d87db5b
UD
40extern size_t __regerror (int __errcode, const regex_t *__preg,
41 char *__errbuf, size_t __errbuf_size);
5c2a0669 42
2d87db5b 43extern void __regfree (regex_t *__preg);
5c2a0669 44#endif
31341567 45#endif
This page took 0.334725 seconds and 5 git commands to generate.