This file is indexed.

/usr/include/zsh/hist.epro is in zsh-dev 5.1.1-1ubuntu2.

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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/* Generated automatically */
#ifndef have_Src_hist_globals
#define have_Src_hist_globals

extern mod_import_variable int(*hgetc)_((void));
extern void(*hungetc)_((int));
extern void(*hwaddc)_((int));
extern void(*hwbegin)_((int));
extern void(*hwend)_((void));
extern void(*addtoline)_((int));
extern mod_import_variable int stophist;
extern mod_import_variable int expanding;
extern mod_import_variable int excs;
extern mod_import_variable int exlast;
extern mod_import_variable zlong curhist;
extern struct histent curline;
extern zlong histlinect;
extern HashTable histtab;
extern mod_import_variable Histent hist_ring;
extern zlong histsiz;
extern zlong savehistsiz;
extern int histdone;
extern int histactive;
extern int hist_ignore_all_dups;
extern mod_import_variable int hist_skip_flags;
extern short*chwords;
extern int chwordlen;
extern int chwordpos;
extern char*hsubl;
extern char*hsubr;
extern mod_import_variable char*hptr;
extern mod_import_variable char*chline;
extern mod_import_variable char*zle_chline;
extern int qbang;
extern int hlinesz;
extern void hist_context_save _((struct hist_stack*hs,int toplevel));
extern void hist_context_restore _((const struct hist_stack*hs,int toplevel));
extern void hist_in_word _((int yesno));
extern void iaddtoline _((int c));
extern void herrflush _((void));
extern mod_import_function void strinbeg _((int dohist));
extern mod_import_function void strinend _((void));
extern mod_import_function void hbegin _((int dohist));
extern void histreduceblanks _((void));
extern void histremovedups _((void));
extern mod_import_function zlong addhistnum _((zlong hl,int n,int xflags));
extern mod_import_function Histent movehistent _((Histent he,int n,int xflags));
extern mod_import_function Histent up_histent _((Histent he));
extern mod_import_function Histent down_histent _((Histent he));
extern mod_import_function Histent gethistent _((zlong ev,int nearmatch));
extern Histent prepnexthistent _((void));
extern mod_import_function int hend _((Eprog prog));
extern void ihwbegin _((int offset));
extern void ihwend _((void));
extern void histbackword _((void));
extern void hwrep _((char*rep));
extern mod_import_function char*hgetline _((void));
extern zlong hcomsearch _((char*str));
extern int chabspath _((char**junkptr));
extern int chrealpath _((char**junkptr));
extern int remtpath _((char**junkptr));
extern int remtext _((char**junkptr));
extern int rembutext _((char**junkptr));
extern mod_import_function int remlpaths _((char**junkptr));
extern char*casemodify _((char*str,int how));
extern int subst _((char**strptr,char*in,char*out,int gbal));
extern mod_import_function void checkcurline _((Histent he));
extern mod_import_function Histent quietgethist _((int ev));
extern void inithist _((void));
extern void resizehistents _((void));
extern void readhistfile _((char*fn,int err,int readflags));
extern void savehistfile _((char*fn,int err,int writeflags));
extern int lockhistfile _((char*fn,int keep_trying));
extern void unlockhistfile _((char*fn));
extern int histfileIsLocked _((void));
extern mod_import_function LinkList bufferwords _((LinkList list,char*buf,int*index,int flags));
extern mod_import_function void histsplitwords _((char*lineptr,short**wordsp,int*nwordsp,int*nwordposp,int uselex));
extern int pushhiststack _((char*hf,zlong hs,zlong shs,int level));
extern int pophiststack _((void));
extern int saveandpophiststack _((int pop_through,int writeflags));

#endif /* !have_Src_hist_globals */