/usr/include/zsh/pattern.epro is in zsh-dev 5.0.2-3ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | /* Generated automatically */
#ifndef have_Src_pattern_globals
#define have_Src_pattern_globals
extern void patcompstart _((void));
extern mod_import_function Patprog patcompile _((char*exp,int inflags,char**endexp));
extern int patgetglobflags _((char**strp,long*assertp,int*ignore));
extern mod_import_function int range_type _((char*start,int len));
extern mod_import_function int pattern_range_to_string _((char*rangestr,char*outstr));
extern int errsfound;
extern int forceerrs;
extern void pattrystart _((void));
extern mod_import_function int pattry _((Patprog prog,char*string));
extern mod_import_function int pattrylen _((Patprog prog,char*string,int len,int unmetalen,int offset));
extern mod_import_function int pattryrefs _((Patprog prog,char*string,int stringlen,int unmetalen,int patoffset,int*nump,int*begp,int*endp));
extern int patmatchlen _((void));
#ifdef MULTIBYTE_SUPPORT
extern mod_import_function int mb_patmatchrange _((char*range,wchar_t ch,wint_t*indptr,int*mtp));
extern mod_import_function int mb_patmatchindex _((char*range,wint_t ind,wint_t*chr,int*mtp));
#endif /* MULTIBYTE_SUPPORT */
extern mod_import_function int patmatchrange _((char*range,int ch,int*indptr,int*mtp));
#ifndef MULTIBYTE_SUPPORT
extern mod_import_function int patmatchindex _((char*range,int ind,int*chr,int*mtp));
#endif /* MULTIBYTE_SUPPORT */
extern mod_import_function void freepatprog _((Patprog prog));
#endif /* !have_Src_pattern_globals */
|