This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove directory depth check from configure.com.
[perl5.git] / embed.fnc
CommitLineData
d7cb65f2 1: BEGIN{die "You meant to run regen/embed.pl"} # Stop early if fed to perl.
5a51db05 2:
d7cb65f2 3: This file is processed by regen/embed.pl and autodoc.pl
d412580b 4:
94bdecf9
JH
5: Lines are of the form:
6: flags|return_type|function_name|arg1|arg2|...|argN
7:
8: A line may be continued on another by ending it with a backslash.
9: Leading and trailing whitespace will be ignored in each component.
10:
11: flags are single letters with following meanings:
d412580b 12:
ba4591a5 13: A Available fully everywhere (usually part of the public API):
d412580b 14:
d500e60d 15: add entry to the list of exported symbols (unless x or m);
ba4591a5
KW
16: any doc entry goes in perlapi.pod rather than perlintern.pod. If no
17: documentation is furnished for this function, and M is also
18: specified, the function is not listed as part of the public API.
d212d222 19: If M isn't specified, and no documentation is furnished, the
ba4591a5 20: function is listed in perlapi as existing and being undocumented
d412580b
DM
21: makes '#define foo Perl_foo' scope not just for PERL_CORE/PERL_EXT
22:
569ba91f
FC
23: If the function is only exported for use in a public
24: macro, see X.
25:
346c6a29
DM
26: a Allocates memory a la malloc/calloc. Also implies "R".
27: This should only be on functions which returns 'empty' memory
28: which has no other pointers to it, and which does not contain
29: any pointers to other things. So for example realloc() can't be
30: 'a'.
d412580b
DM
31:
32: proto.h: add __attribute__malloc__
33:
3f1866a8
KW
34: b Binary backward compatibility. This is used for functions which are
35: kept only to not have to change legacy applications that call them. If
36: there are no such legacy applications in a Perl installation for all
37: functions flagged with this, the installation can run Configure with the
38: -Accflags='-DNO_MATHOMS' parameter to not even compile them. If there
39: is a macro form of this function that provides equivalent functionality
40: (using a different implementation), also specify the 'm' flag. The 'b'
41: functions are normally moved to mathoms.c, but if circumstances dictate
42: otherwise, they can be anywhere, provided the whole function is wrapped
43: with
44: #ifndef NO_MATHOMS
45: ...
46: #endif
d412580b 47:
5ff52e3c
KW
48: Note that this flag no longer automatically adds a 'Perl_' prefix to the
49: name. Additionally specify 'p' to do that.
50:
3f1866a8
KW
51: For functions, like wrappers, whose macro shortcut doesn't call the
52: function, but which, for whatever reason, aren't considered legacy-only,
53: use the 'o' flag
54:
55: This flag effectively causes nothing to happen if the perl interpreter
56: is compiled with -DNO_MATHOMS; otherwise these happen:
d500e60d 57: add entry to the list of exported symbols;
3f1866a8
KW
58: create PERL_ARGS_ASSERT_FOO;
59: add embed.h entry (unless overridden by the 'm' flag)
d412580b
DM
60:
61: D Function is deprecated:
62:
63: proto.h: add __attribute__deprecated__
64:
6ef8d77a 65: d Function has documentation (somewhere) in the source:
d412580b
DM
66:
67: enables 'no docs for foo" warning in autodoc.pl
68:
69: E Visible to extensions included in the Perl core:
70:
71: in embed.h, change "#ifdef PERL_CORE"
72: into "#if defined(PERL_CORE) || defined(PERL_EXT)"
73:
d212d222
KW
74: To be usable from dynamically loaded extensions, either:
75: 1) must be static to its containing file ("i" or "s" flag); or
76: 2) be combined with the "X" flag.
23fb3b56 77:
531b2663
DM
78: f Function takes a format string. If the function name /strftime/
79: then its assumed to take a strftime-style format string as 1st arg;
80: otherwise it's assumed to be a printf style format string, varargs
81: (hence any entry that would otherwise go in embed.h is suppressed):
d412580b
DM
82:
83: proto.h: add __attribute__format__ (or ...null_ok__)
84:
71556506
KW
85: i Static inline: function in source code has a S_ prefix:
86:
4d2e4fbc
KW
87: proto.h: function is declared as S_foo rather than foo unless the 'p'
88: flag is also given in which case 'Perl_foo' is used,
71556506 89: PERL_STATIC_INLINE is added to declaration;
4d2e4fbc 90: embed.h: "#define foo S_foo" or Perl_foo entries added
71556506 91:
d412580b
DM
92: M May change:
93:
494cc49e
KW
94: any doc entry is marked that function may change. Also used to
95: suppress making a doc entry if it would just be a placeholder.
d412580b
DM
96:
97: m Implemented as a macro:
98:
3f1866a8
KW
99: suppress proto.h entry unless 'b' also specified (actually, not
100: suppressed, but commented out)
d500e60d 101: suppress entry in the list of exported symbols
d412580b
DM
102: suppress embed.h entry
103:
104: n Has no implicit interpreter/thread context argument:
105:
106: suppress the pTHX part of "foo(pTHX...)" in proto.h;
107: In the PERL_IMPLICIT_SYS branch of embed.h, generates
108: "#define foo Perl_foo", rather than
109: "#define foo(a,b,c) Perl_foo(aTHX_ a,b,c)
110:
7b53c8ee
NC
111: O Has a perl_ compatibility macro.
112:
113: The really OLD name for API funcs
114:
37ccf918 115: o Has no Perl_foo or S_foo compatibility macro:
d412580b
DM
116:
117: embed.h: suppress "#define foo Perl_foo"
118:
b289a0bd 119: P Pure function: Also implies "R". No effects except the return value;
d412580b
DM
120: return value depends only on params and/or globals:
121:
122: proto.h: add __attribute__pure__
123:
124: p Function in source code has a Perl_ prefix:
125:
126: proto.h: function is declared as Perl_foo rather than foo
127: embed.h: "#define foo Perl_foo" entries added
128:
b289a0bd 129: R Return value must not be ignored (also implied by 'a' and 'P' flags):
d412580b
DM
130:
131: proto.h: add __attribute__warn_unused_result__
132:
133: r Function never returns:
134:
135: proto.h: add __attribute__noreturn__
136:
137: s Static function: function in source code has a S_ prefix:
138:
139: proto.h: function is declared as S_foo rather than foo,
140: STATIC is added to declaration;
141: embed.h: "#define foo S_foo" entries added
142:
143: U Suppress usage example in autogenerated documentation
144:
145: (currently no effect)
146:
21553840
YO
147: W Add a _pDEPTH argument to function prototypes, and an _aDEPTH
148: argument to the function calls. This means that under DEBUGGING
149: a depth argument is added to the functions, which is used for
150: example by the regex engine for debugging and trace output.
151: A non DEBUGGING build will not pass the unused argument.
152: Currently restricted to functions with at least one argument.
153:
d412580b
DM
154: X Explicitly exported:
155:
d500e60d 156: add entry to the list of exported symbols, unless x or m
d412580b 157:
569ba91f
FC
158: This is often used for private functions that are used by public
159: macros. In those cases the macros must use the long form of the
160: name (Perl_blah(aTHX_ ...)).
161:
d412580b
DM
162: x Not exported
163:
d500e60d 164: suppress entry in the list of exported symbols
d412580b 165:
1aa6ea50 166: (see also L<perlguts/Internal Functions> for those flags.)
4373e329 167:
f54cb97a 168: Pointer parameters that must not be passed NULLs should be prefixed with NN.
94bdecf9 169:
1b6737cc
AL
170: Pointer parameters that may be NULL should be prefixed with NULLOK. This has
171: no effect on output yet. It's a notation for the maintainers to know "I have
172: defined whether NULL is OK or not" rather than having neither NULL or NULLOK,
173: which is ambiguous.
174:
94bdecf9 175: Individual flags may be separated by whitespace.
94bdecf9 176
94bdecf9 177#if defined(PERL_IMPLICIT_SYS)
7827dc65 178Ano |PerlInterpreter*|perl_alloc_using \
4048f010
NC
179 |NN struct IPerlMem *ipM \
180 |NN struct IPerlMem *ipMS \
181 |NN struct IPerlMem *ipMP \
182 |NN struct IPerlEnv *ipE \
183 |NN struct IPerlStdIO *ipStd \
16bf6295 184 |NN struct IPerlLIO *ipLIO \
4048f010
NC
185 |NN struct IPerlDir *ipD \
186 |NN struct IPerlSock *ipS \
187 |NN struct IPerlProc *ipP
94bdecf9
JH
188#endif
189Anod |PerlInterpreter* |perl_alloc
4048f010
NC
190Anod |void |perl_construct |NN PerlInterpreter *my_perl
191Anod |int |perl_destruct |NN PerlInterpreter *my_perl
192Anod |void |perl_free |NN PerlInterpreter *my_perl
193Anod |int |perl_run |NN PerlInterpreter *my_perl
194Anod |int |perl_parse |NN PerlInterpreter *my_perl|XSINIT_t xsinit \
7827dc65
AL
195 |int argc|NULLOK char** argv|NULLOK char** env
196AnpR |bool |doing_taint |int argc|NULLOK char** argv|NULLOK char** env
94bdecf9 197#if defined(USE_ITHREADS)
4048f010 198Anod |PerlInterpreter*|perl_clone|NN PerlInterpreter *proto_perl|UV flags
94bdecf9 199# if defined(PERL_IMPLICIT_SYS)
7827dc65 200Ano |PerlInterpreter*|perl_clone_using \
589df73b
SH
201 |NN PerlInterpreter *proto_perl \
202 |UV flags \
203 |NN struct IPerlMem* ipM \
204 |NN struct IPerlMem* ipMS \
205 |NN struct IPerlMem* ipMP \
206 |NN struct IPerlEnv* ipE \
207 |NN struct IPerlStdIO* ipStd \
208 |NN struct IPerlLIO* ipLIO \
209 |NN struct IPerlDir* ipD \
210 |NN struct IPerlSock* ipS \
211 |NN struct IPerlProc* ipP
94bdecf9
JH
212# endif
213#endif
214
4373e329
AL
215Aanop |Malloc_t|malloc |MEM_SIZE nbytes
216Aanop |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size
346c6a29 217ARnop |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes
94bdecf9
JH
218Anop |Free_t |mfree |Malloc_t where
219#if defined(MYMALLOC)
7827dc65 220npR |MEM_SIZE|malloced_size |NN void *p
64107180 221npR |MEM_SIZE|malloc_good_size |size_t nbytes
94bdecf9 222#endif
03f05cb4
LM
223#if defined(PERL_IN_MALLOC_C)
224sn |int |adjust_size_and_find_bucket |NN size_t *nbytes_p
225#endif
94bdecf9 226
890ce7af 227AnpR |void* |get_context
9f6cc744 228Anp |void |set_context |NN void *t
94bdecf9 229
6f1401dc
DM
230XEop |bool |try_amagic_bin |int method|int flags
231XEop |bool |try_amagic_un |int method|int flags
46c461b5 232Ap |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir
25a9ffce 233Ap |SV * |amagic_deref_call|NN SV *ref|int method
8d569291 234p |bool |amagic_is_enabled|int method
c3a9a790 235Ap |int |Gv_AMupdate |NN HV* stash|bool destructing
890ce7af 236ApR |CV* |gv_handler |NULLOK HV* stash|I32 id
2fcb4757
Z
237Apd |OP* |op_append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last
238Apd |OP* |op_append_list |I32 optype|NULLOK OP* first|NULLOK OP* last
5983a79d 239Apd |OP* |op_linklist |NN OP *o
2fcb4757 240Apd |OP* |op_prepend_elem|I32 optype|NULLOK OP* first|NULLOK OP* last
67022846 241: FIXME - this is only called by pp_chown. They should be merged.
890ce7af
AL
242p |I32 |apply |I32 type|NN SV** mark|NN SV** sp
243ApM |void |apply_attrs_string|NN const char *stashpv|NN CV *cv|NN const char *attrstr|STRLEN len
4048f010 244Apd |void |av_clear |NN AV *av
c70927a6
FC
245Apd |SV* |av_delete |NN AV *av|SSize_t key|I32 flags
246ApdR |bool |av_exists |NN AV *av|SSize_t key
fc16c392
FC
247Apd |void |av_extend |NN AV *av|SSize_t key
248p |void |av_extend_guts |NULLOK AV *av|SSize_t key \
249 |NN SSize_t *maxp \
7261499d 250 |NN SV ***allocp|NN SV ***arrayp
c70927a6
FC
251ApdR |SV** |av_fetch |NN AV *av|SSize_t key|I32 lval
252Apd |void |av_fill |NN AV *av|SSize_t fill
253ApdR |SSize_t|av_len |NN AV *av
254ApdR |AV* |av_make |SSize_t size|NN SV **strp
4048f010 255Apd |SV* |av_pop |NN AV *av
29a861e7 256ApdoxM |void |av_create_and_push|NN AV **const avp|NN SV *const val
06942096 257Apd |void |av_push |NN AV *av|NN SV *val
d67fec57 258: Used in scope.c, and by Data::Alias
4048f010
NC
259EXp |void |av_reify |NN AV *av
260ApdR |SV* |av_shift |NN AV *av
c70927a6 261Apd |SV** |av_store |NN AV *av|SSize_t key|NULLOK SV *val
a4570f51 262#ifndef PERL_NO_INLINE_FUNCTIONS
c70927a6 263AidR |SSize_t|av_top_index |NN AV *av
a4570f51 264#endif
c70927a6 265AmpdR |SSize_t|av_tindex |NN AV *av
4048f010 266Apd |void |av_undef |NN AV *av
29a861e7 267ApdoxM |SV** |av_create_and_unshift_one|NN AV **const avp|NN SV *const val
c70927a6 268Apd |void |av_unshift |NN AV *av|SSize_t num
4048f010
NC
269Apo |SV** |av_arylen_p |NN AV *av
270Apo |IV* |av_iter_p |NN AV *av
43869a0c 271#if defined(PERL_IN_AV_C)
878d132a
NC
272s |MAGIC* |get_aux_mg |NN AV *av
273#endif
d67fec57 274: Used in perly.y
4048f010 275pR |OP* |bind_match |I32 type|NN OP *left|NN OP *right
d67fec57 276: Used in perly.y
25f5d540 277ApdR |OP* |block_end |I32 floor|NULLOK OP* seq
1c23e2bd 278ApR |U8 |block_gimme
d67fec57 279: Used in perly.y
25f5d540 280ApdR |int |block_start |int full
fd85fad2 281Aodp |void |blockhook_register |NN BHK *hk
d67fec57 282: Used in perl.c
94bdecf9 283p |void |boot_core_UNIVERSAL
d67fec57 284: Used in perl.c
94bdecf9 285p |void |boot_core_PerlIO
4048f010 286Ap |void |call_list |I32 oldscope|NN AV *paramList
8dff4fc5
BM
287Apd |const PERL_CONTEXT * |caller_cx|I32 level \
288 |NULLOK const PERL_CONTEXT **dbcxp
486ec47a 289: Used in several source files
ae1951c1 290pR |bool |cando |Mode_t mode|bool effective|NN const Stat_t* statbufp
ddeaf645
DD
291ApRn |U32 |cast_ulong |NV f
292ApRn |I32 |cast_i32 |NV f
293ApRn |IV |cast_iv |NV f
294ApRn |UV |cast_uv |NV f
94bdecf9 295#if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
53c1dcc0 296ApR |I32 |my_chsize |int fd|Off_t length
94bdecf9 297#endif
25502127
FC
298p |const COP*|closest_cop |NN const COP *cop|NULLOK const OP *o \
299 |NULLOK const OP *curop|bool opnext
d67fec57 300: Used in perly.y
03d05f6e 301ApdR |OP* |op_convert_list |I32 optype|I32 flags|NULLOK OP* o
d67fec57 302: Used in op.c and perl.c
274ed8ae 303pM |void |create_eval_scope|NULLOK OP *retop|U32 flags
c5df3096 304Aprd |void |croak_sv |NN SV *baseex
551405c4 305: croak()'s first parm can be NULL. Otherwise, mod_perl breaks.
cdfeb707 306Afprd |void |croak |NULLOK const char* pat|...
c5df3096 307Aprd |void |vcroak |NULLOK const char* pat|NULLOK va_list* args
cb077ed2
DD
308Anprd |void |croak_no_modify
309Anprd |void |croak_xs_usage |NN const CV *const cv \
afa74d42 310 |NN const char *const params
4cbe3a7d 311npr |void |croak_no_mem
3d04513d 312nprX |void |croak_popstack
4fa06845 313fnrp |void |croak_caller|NULLOK const char* pat|...
db6e00bd 314fnprx |void |noperl_die|NN const char* pat|...
073dd035
DD
315#if defined(WIN32)
316norx |void |win32_croak_not_implemented|NN const char * fname
317#endif
94bdecf9 318#if defined(PERL_IMPLICIT_CONTEXT)
52a5bfab 319Afnrp |void |croak_nocontext|NULLOK const char* pat|...
e950ecba 320Afnrp |OP* |die_nocontext |NULLOK const char* pat|...
890ce7af
AL
321Afnp |void |deb_nocontext |NN const char* pat|...
322Afnp |char* |form_nocontext |NN const char* pat|...
3d4dd4c7 323Anp |void |load_module_nocontext|U32 flags|NN SV* name|NULLOK SV* ver|...
890ce7af
AL
324Afnp |SV* |mess_nocontext |NN const char* pat|...
325Afnp |void |warn_nocontext |NN const char* pat|...
326Afnp |void |warner_nocontext|U32 err|NN const char* pat|...
23f13727 327Afnp |SV* |newSVpvf_nocontext|NN const char *const pat|...
89e38212
SS
328Afnp |void |sv_catpvf_nocontext|NN SV *const sv|NN const char *const pat|...
329Afnp |void |sv_setpvf_nocontext|NN SV *const sv|NN const char *const pat|...
330Afnp |void |sv_catpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
331Afnp |void |sv_setpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
4048f010
NC
332Afnp |int |fprintf_nocontext|NN PerlIO *stream|NN const char *format|...
333Afnp |int |printf_nocontext|NN const char *format|...
94bdecf9 334#endif
b8c38f0a
FC
335: Used in pp.c
336p |SV * |core_prototype |NULLOK SV *sv|NN const char *name \
b66130dd 337 |const int code|NULLOK int * const opnum
1e4b6aa1 338: Used in gv.c
8f939fab 339p |OP * |coresub_op |NN SV *const coreargssv|const int code \
1e4b6aa1 340 |const int opnum
d67fec57 341: Used in sv.c
eedb00fa 342EMXp |void |cv_ckproto_len_flags |NN const CV* cv|NULLOK const GV* gv\
dab1c735
BF
343 |NULLOK const char* p|const STRLEN len \
344 |const U32 flags
67022846 345: Used in pp.c and pp_sys.c
62d55b22 346ApdR |SV* |gv_const_sv |NN GV* gv
ddeaf645
DD
347ApdRn |SV* |cv_const_sv |NULLOK const CV *const cv
348pRn |SV* |cv_const_sv_or_av|NULLOK const CV *const cv
ecf05a58 349Apd |SV * |cv_name |NN CV *cv|NULLOK SV *sv|U32 flags
890ce7af 350Apd |void |cv_undef |NN CV* cv
b7acb0a3 351p |void |cv_undef_flags |NN CV* cv|U32 flags
de0885da 352p |void |cv_forget_slab |NULLOK CV *cv
890ce7af 353Ap |void |cx_dump |NN PERL_CONTEXT* cx
9d4ba2ae 354Ap |SV* |filter_add |NULLOK filter_t funcp|NULLOK SV* datasv
890ce7af 355Ap |void |filter_del |NN filter_t funcp
4048f010 356ApR |I32 |filter_read |int idx|NN SV *buf_sv|int maxlen
a3b680e6
AL
357ApPR |char** |get_op_descs
358ApPR |char** |get_op_names
67022846 359: FIXME discussion on p5p
a3b680e6 360pPR |const char* |get_no_modify
67022846 361: FIXME discussion on p5p
a3b680e6
AL
362pPR |U32* |get_opargs
363ApPR |PPADDR_t*|get_ppaddr
d67fec57 364: Used by CXINC, which appears to be in widespread use
82151c42 365ApR |I32 |cxinc
890ce7af 366Afp |void |deb |NN const char* pat|...
aec46f14 367Ap |void |vdeb |NN const char* pat|NULLOK va_list* args
94bdecf9 368Ap |void |debprofdump
dc3c1c70 369EXp |SV* |multideref_stringify |NN const OP* o|NULLOK CV *cv
4373e329 370Ap |I32 |debop |NN const OP* o
94bdecf9
JH
371Ap |I32 |debstack
372Ap |I32 |debstackptrs
13733cde 373pR |SV * |defelem_target |NN SV *sv|NULLOK MAGIC *mg
04c9e624 374Anp |char* |delimcpy |NN char* to|NN const char* toend|NN const char* from \
4373e329 375 |NN const char* fromend|int delim|NN I32* retlen
ba0a4150
FC
376np |char* |delimcpy_no_escape|NN char* to|NN const char* toend \
377 |NN const char* from \
378 |NN const char* fromend|int delim \
379 |NN I32* retlen
d67fec57 380: Used in op.c, perl.c
edb2152a 381pM |void |delete_eval_scope
e950ecba
KW
382Aprd |OP* |die_sv |NN SV *baseex
383Afrpd |OP* |die |NULLOK const char* pat|...
67022846 384: Used in util.c
62705b21 385pr |void |die_unwind |NN SV* msv
94bdecf9 386Ap |void |dounwind |I32 cxix
67022846 387: FIXME
738ab09f 388pmb |bool|do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp
67022846 389: Used in pp_sys.c
738ab09f 390p |bool|do_aexec5 |NULLOK SV* really|NN SV** mark|NN SV** sp|int fd|int do_report
4373e329 391Ap |int |do_binmode |NN PerlIO *fp|int iotype|int mode
67022846 392: Used in pp.c
063df69c 393Ap |bool |do_close |NULLOK GV* gv|bool not_implicit
67022846 394: Defined in doio.c, used only in pp_sys.c
4373e329 395p |bool |do_eof |NN GV* gv
8c654ff2
NC
396
397#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
738ab09f 398pm |bool|do_exec |NN const char* cmd
8c654ff2 399#else
738ab09f 400p |bool|do_exec |NN const char* cmd
8c654ff2
NC
401#endif
402
9ec7171b 403#if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
a3e405b2 404Ap |int |do_aspawn |NULLOK SV* really|NN SV** mark|NN SV** sp
890ce7af
AL
405Ap |int |do_spawn |NN char* cmd
406Ap |int |do_spawn_nowait|NN char* cmd
54725af6 407#endif
94bdecf9 408#if !defined(WIN32)
738ab09f 409p |bool|do_exec3 |NN const char *incmd|int fd|int do_report
94bdecf9
JH
410#endif
411p |void |do_execfree
43869a0c 412#if defined(PERL_IN_DOIO_C)
b1366aaf 413s |void |exec_failed |NN const char *cmd|int fd|int do_report
a0f2c8ec 414#endif
94bdecf9 415#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
67022846 416: Defined in doio.c, used only in pp_sys.c
7827dc65 417p |I32 |do_ipcctl |I32 optype|NN SV** mark|NN SV** sp
67022846 418: Defined in doio.c, used only in pp_sys.c
7827dc65 419p |I32 |do_ipcget |I32 optype|NN SV** mark|NN SV** sp
67022846 420: Defined in doio.c, used only in pp_sys.c
7827dc65 421p |I32 |do_msgrcv |NN SV** mark|NN SV** sp
67022846 422: Defined in doio.c, used only in pp_sys.c
7827dc65 423p |I32 |do_msgsnd |NN SV** mark|NN SV** sp
67022846 424: Defined in doio.c, used only in pp_sys.c
7827dc65 425p |I32 |do_semop |NN SV** mark|NN SV** sp
67022846 426: Defined in doio.c, used only in pp_sys.c
7827dc65 427p |I32 |do_shmio |I32 optype|NN SV** mark|NN SV** sp
94bdecf9 428#endif
4048f010 429Ap |void |do_join |NN SV *sv|NN SV *delim|NN SV **mark|NN SV **sp
981b7185
NC
430: Used in pp.c and pp_hot.c, prototype generated by regen/opcode.pl
431: p |OP* |do_kv
33efebe6
DM
432: used in pp.c, pp_hot.c
433pR |I32 |do_ncmp |NN SV *const left|NN SV *const right
e4dba786 434Apmb |bool |do_open |NN GV* gv|NN const char* name|I32 len|int as_raw \
890ce7af 435 |int rawmode|int rawperm|NULLOK PerlIO* supplied_fp
2fbb330f 436Ap |bool |do_open9 |NN GV *gv|NN const char *name|I32 len|int as_raw \
890ce7af
AL
437 |int rawmode|int rawperm|NULLOK PerlIO *supplied_fp \
438 |NN SV *svs|I32 num
a2b41d5c
NC
439#if defined(PERL_IN_DOIO_C)
440s |IO * |openn_setup |NN GV *gv|NN char *mode|NN PerlIO **saveifp \
441 |NN PerlIO **saveofp|NN int *savefd \
442 |NN char *savetype
a6fc70e5
NC
443s |bool |openn_cleanup |NN GV *gv|NN IO *io|NULLOK PerlIO *fp \
444 |NN char *mode|NN const char *oname \
445 |NULLOK PerlIO *saveifp|NULLOK PerlIO *saveofp \
446 |int savefd|char savetype|int writing \
447 |bool was_fdopen|NULLOK const char *type
a2b41d5c 448#endif
4048f010
NC
449Ap |bool |do_openn |NN GV *gv|NN const char *oname|I32 len \
450 |int as_raw|int rawmode|int rawperm \
451 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
452 |I32 num
4b451737
NC
453Mp |bool |do_open_raw |NN GV *gv|NN const char *oname|STRLEN len \
454 |int rawmode|int rawperm
455Mp |bool |do_open6 |NN GV *gv|NN const char *oname|STRLEN len \
456 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
457 |U32 num
67022846 458: Used in pp_hot.c and pp_sys.c
890ce7af 459p |bool |do_print |NULLOK SV* sv|NN PerlIO* fp
67022846 460: Used in pp_sys.c
890ce7af 461pR |OP* |do_readline
67022846 462: Defined in doio.c, used only in pp_sys.c
890ce7af
AL
463p |bool |do_seek |NULLOK GV* gv|Off_t pos|int whence
464Ap |void |do_sprintf |NN SV* sv|I32 len|NN SV** sarg
67022846 465: Defined in doio.c, used only in pp_sys.c
890ce7af 466p |Off_t |do_sysseek |NN GV* gv|Off_t pos|int whence
67022846 467: Defined in doio.c, used only in pp_sys.c
890ce7af 468pR |Off_t |do_tell |NN GV* gv
67022846 469: Defined in doop.c, used only in pp.c
890ce7af 470p |I32 |do_trans |NN SV* sv
67022846 471: Used in my.c and pp.c
fcb8da00 472p |UV |do_vecget |NN SV* sv|SSize_t offset|int size
67022846 473: Defined in doop.c, used only in mg.c (with /* XXX slurp this routine */)
4373e329 474p |void |do_vecset |NN SV* sv
67022846 475: Defined in doop.c, used only in pp.c
890ce7af 476p |void |do_vop |I32 optype|NN SV* sv|NN SV* left|NN SV* right
67022846 477: Used in perly.y
850e8516 478p |OP* |dofile |NN OP* term|I32 force_builtin
1c23e2bd 479ApR |U8 |dowantarray
94bdecf9 480Ap |void |dump_all
f0e3f042 481p |void |dump_all_perl |bool justperl
94bdecf9 482Ap |void |dump_eval
9a957fbc 483Ap |void |dump_form |NN const GV* gv
3dc78631 484Ap |void |gv_dump |NULLOK GV* gv
4048f010 485Ap |void |op_dump |NN const OP *o
9a957fbc
AL
486Ap |void |pmop_dump |NULLOK PMOP* pm
487Ap |void |dump_packsubs |NN const HV* stash
f0e3f042 488p |void |dump_packsubs_perl |NN const HV* stash|bool justperl
f54cb97a 489Ap |void |dump_sub |NN const GV* gv
f0e3f042 490p |void |dump_sub_perl |NN const GV* gv|bool justperl
890ce7af
AL
491Apd |void |fbm_compile |NN SV* sv|U32 flags
492ApdR |char* |fbm_instr |NN unsigned char* big|NN unsigned char* bigend \
9f6cc744 493 |NN SV* littlestr|U32 flags
9a5e6f3c 494p |CV * |find_lexical_cv|PADOFFSET off
67022846 495: Defined in util.c, used only in perl.c
7827dc65
AL
496p |char* |find_script |NN const char *scriptname|bool dosearch \
497 |NULLOK const char *const *const search_ext|I32 flags
43869a0c 498#if defined(PERL_IN_OP_C)
29e61fd9 499s |OP* |force_list |NULLOK OP* arg|bool nullit
985b9e54
GG
500i |OP* |op_integerize |NN OP *o
501i |OP* |op_std_init |NN OP *o
b46e009d 502#if defined(USE_ITHREADS)
503i |void |op_relocate_sv |NN SV** svp|NN PADOFFSET* targp
504#endif
505i |OP* |newMETHOP_internal |I32 type|I32 flags|NULLOK OP* dynamic_meth \
506 |NULLOK SV* const_meth
d67fec57 507: FIXME
b7783a12
NC
508s |OP* |fold_constants |NN OP *o
509#endif
aec46f14
AL
510Afpd |char* |form |NN const char* pat|...
511Ap |char* |vform |NN const char* pat|NULLOK va_list* args
94bdecf9 512Ap |void |free_tmps
43869a0c 513#if defined(PERL_IN_OP_C)
b7783a12 514s |OP* |gen_constant_list|NULLOK OP* o
0da8eb3a 515#endif
94bdecf9 516#if !defined(HAS_GETENV_LEN)
67022846 517: Used in hv.c
9f6cc744 518p |char* |getenv_len |NN const char *env_elem|NN unsigned long *len
94bdecf9 519#endif
67022846 520: Used in pp_ctl.c and pp_hot.c
005a8a35 521pox |void |get_db_sub |NULLOK SV **svp|NN CV *cv
46c461b5
AL
522Ap |void |gp_free |NULLOK GV* gv
523Ap |GP* |gp_ref |NULLOK GP* gp
13c59d41 524Ap |GV* |gv_add_by_type |NULLOK GV *gv|svtype type
bb85b28a
NC
525Apmb |GV* |gv_AVadd |NULLOK GV *gv
526Apmb |GV* |gv_HVadd |NULLOK GV *gv
527Apmb |GV* |gv_IOadd |NULLOK GV* gv
aa1e761e
FC
528AmR |GV* |gv_autoload4 |NULLOK HV* stash|NN const char* name \
529 |STRLEN len|I32 method
0eeb01b9 530ApR |GV* |gv_autoload_sv |NULLOK HV* stash|NN SV* namesv|U32 flags
0fe84f7c 531ApR |GV* |gv_autoload_pv |NULLOK HV* stash|NN const char* namepv \
0eeb01b9 532 |U32 flags
0fe84f7c 533ApR |GV* |gv_autoload_pvn |NULLOK HV* stash|NN const char* name \
0eeb01b9 534 |STRLEN len|U32 flags
51da40ed 535Ap |void |gv_check |NN HV* stash
46c461b5
AL
536Ap |void |gv_efullname |NN SV* sv|NN const GV* gv
537Apmb |void |gv_efullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
538Ap |void |gv_efullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
53c1dcc0 539Ap |GV* |gv_fetchfile |NN const char* name
d9095cec
NC
540Ap |GV* |gv_fetchfile_flags|NN const char *const name|const STRLEN len\
541 |const U32 flags
6c53d59b
FC
542Amd |GV* |gv_fetchmeth |NULLOK HV* stash|NN const char* name \
543 |STRLEN len|I32 level
e6919483
BF
544Apd |GV* |gv_fetchmeth_sv |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
545Apd |GV* |gv_fetchmeth_pv |NULLOK HV* stash|NN const char* name \
546 |I32 level|U32 flags
547Apd |GV* |gv_fetchmeth_pvn |NULLOK HV* stash|NN const char* name \
548 |STRLEN len|I32 level|U32 flags
460e5730
FC
549Amd |GV* |gv_fetchmeth_autoload |NULLOK HV* stash \
550 |NN const char* name|STRLEN len \
551 |I32 level
d21989ed
BF
552Apd |GV* |gv_fetchmeth_sv_autoload |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
553Apd |GV* |gv_fetchmeth_pv_autoload |NULLOK HV* stash|NN const char* name \
554 |I32 level|U32 flags
555Apd |GV* |gv_fetchmeth_pvn_autoload |NULLOK HV* stash|NN const char* name \
556 |STRLEN len|I32 level|U32 flags
eff494dd
NC
557Apdmb |GV* |gv_fetchmethod |NN HV* stash|NN const char* name
558Apd |GV* |gv_fetchmethod_autoload|NN HV* stash|NN const char* name \
559 |I32 autoload
44130a26
BF
560ApM |GV* |gv_fetchmethod_sv_flags|NN HV* stash|NN SV* namesv|U32 flags
561ApM |GV* |gv_fetchmethod_pv_flags|NN HV* stash|NN const char* name \
562 |U32 flags
563ApM |GV* |gv_fetchmethod_pvn_flags|NN HV* stash|NN const char* name \
c60dbbc3 564 |const STRLEN len|U32 flags
fe9845cc 565Ap |GV* |gv_fetchpv |NN const char *nambeg|I32 add|const svtype sv_type
9a957fbc
AL
566Ap |void |gv_fullname |NN SV* sv|NN const GV* gv
567Apmb |void |gv_fullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
568Ap |void |gv_fullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
d67fec57 569: Used in scope.c
12816592 570pMox |GP * |newGP |NN GV *const gv
803f2748 571pX |void |cvgv_set |NN CV* cv|NULLOK GV* gv
ae77754a 572poX |GV * |cvgv_from_hek |NN CV* cv
c68d9564 573pX |void |cvstash_set |NN CV* cv|NULLOK HV* stash
e1104062
FC
574Amd |void |gv_init |NN GV* gv|NULLOK HV* stash \
575 |NN const char* name|STRLEN len|int multi
04ec7e59 576Ap |void |gv_init_sv |NN GV* gv|NULLOK HV* stash|NN SV* namesv|U32 flags
e6066781 577Ap |void |gv_init_pv |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 578 |U32 flags
e6066781 579Ap |void |gv_init_pvn |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 580 |STRLEN len|U32 flags
9f616d01 581Ap |void |gv_name_set |NN GV* gv|NN const char *name|U32 len|U32 flags
9e3fb20c
FC
582px |GV * |gv_override |NN const char * const name \
583 |const STRLEN len
4c106937 584XMpd |void |gv_try_downgrade|NN GV* gv
d8a875d9 585p |void |gv_setref |NN SV *const dstr|NN SV *const sstr
da51bb9b
NC
586Apd |HV* |gv_stashpv |NN const char* name|I32 flags
587Apd |HV* |gv_stashpvn |NN const char* name|U32 namelen|I32 flags
0eadbdad 588#if defined(PERL_IN_GV_C)
c6afe666 589i |HV* |gv_stashpvn_internal |NN const char* name|U32 namelen|I32 flags
590i |HV* |gv_stashsvpvn_cached |NULLOK SV *namesv|NULLOK const char* name|U32 namelen|I32 flags
591i |GV* |gv_fetchmeth_internal |NULLOK HV* stash|NULLOK SV* meth|NULLOK const char* name \
592 |STRLEN len|I32 level|U32 flags
0eadbdad 593#endif
8798655d 594Apd |HV* |gv_stashsv |NN SV* sv|I32 flags
4048f010 595Apd |void |hv_clear |NULLOK HV *hv
67022846 596: used in SAVEHINTS() and op.c
defdfed5 597ApdR |HV * |hv_copy_hints_hv|NULLOK HV *const ohv
4048f010 598Ap |void |hv_delayfree_ent|NN HV *hv|NULLOK HE *entry
5ff52e3c 599Abmdp |SV* |hv_delete |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 600 |I32 flags
5ff52e3c
KW
601Abmdp |SV* |hv_delete_ent |NULLOK HV *hv|NN SV *keysv|I32 flags|U32 hash
602AbmdRp |bool |hv_exists |NULLOK HV *hv|NN const char *key|I32 klen
603AbmdRp |bool |hv_exists_ent |NULLOK HV *hv|NN SV *keysv|U32 hash
604Abmdp |SV** |hv_fetch |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 605 |I32 lval
5ff52e3c 606Abmdp |HE* |hv_fetch_ent |NULLOK HV *hv|NN SV *keysv|I32 lval|U32 hash
4048f010 607Ap |void* |hv_common |NULLOK HV *hv|NULLOK SV *keysv \
d3ba3f5c 608 |NULLOK const char* key|STRLEN klen|int flags \
4048f010 609 |int action|NULLOK SV *val|U32 hash
a038e571
NC
610Ap |void* |hv_common_key_len|NULLOK HV *hv|NN const char *key \
611 |I32 klen_i32|const int action|NULLOK SV *val \
612 |const U32 hash
9faf471a 613Apod |STRLEN |hv_fill |NN HV *const hv
c77ce6f1 614Ap |void |hv_free_ent |NN HV *hv|NULLOK HE *entry
4048f010 615Apd |I32 |hv_iterinit |NN HV *hv
a3b680e6
AL
616ApdR |char* |hv_iterkey |NN HE* entry|NN I32* retlen
617ApdR |SV* |hv_iterkeysv |NN HE* entry
4048f010
NC
618ApdRbm |HE* |hv_iternext |NN HV *hv
619ApdR |SV* |hv_iternextsv |NN HV *hv|NN char **key|NN I32 *retlen
620ApMdR |HE* |hv_iternext_flags|NN HV *hv|I32 flags
621ApdR |SV* |hv_iterval |NN HV *hv|NN HE *entry
622Ap |void |hv_ksplit |NN HV *hv|IV newmax
623Apdbm |void |hv_magic |NN HV *hv|NULLOK GV *gv|int how
43869a0c 624#if defined(PERL_IN_HV_C)
20439bc7 625s |SV * |refcounted_he_value |NN const struct refcounted_he *he
012da8e5 626#endif
20439bc7
Z
627Xpd |HV * |refcounted_he_chain_2hv|NULLOK const struct refcounted_he *c|U32 flags
628Xpd |SV * |refcounted_he_fetch_pvn|NULLOK const struct refcounted_he *chain \
629 |NN const char *keypv|STRLEN keylen|U32 hash|U32 flags
630Xpd |SV * |refcounted_he_fetch_pv|NULLOK const struct refcounted_he *chain \
631 |NN const char *key|U32 hash|U32 flags
632Xpd |SV * |refcounted_he_fetch_sv|NULLOK const struct refcounted_he *chain \
633 |NN SV *key|U32 hash|U32 flags
634Xpd |struct refcounted_he *|refcounted_he_new_pvn \
635 |NULLOK struct refcounted_he *parent \
636 |NN const char *keypv|STRLEN keylen \
637 |U32 hash|NULLOK SV *value|U32 flags
638Xpd |struct refcounted_he *|refcounted_he_new_pv \
639 |NULLOK struct refcounted_he *parent \
640 |NN const char *key \
641 |U32 hash|NULLOK SV *value|U32 flags
642Xpd |struct refcounted_he *|refcounted_he_new_sv \
643 |NULLOK struct refcounted_he *parent \
644 |NN SV *key \
645 |U32 hash|NULLOK SV *value|U32 flags
646Xpd |void |refcounted_he_free|NULLOK struct refcounted_he *he
647Xpd |struct refcounted_he *|refcounted_he_inc|NULLOK struct refcounted_he *he
5ff52e3c 648Apbmd |SV** |hv_store |NULLOK HV *hv|NULLOK const char *key \
4048f010 649 |I32 klen|NULLOK SV *val|U32 hash
5ff52e3c 650Apbmd |HE* |hv_store_ent |NULLOK HV *hv|NULLOK SV *key|NULLOK SV *val\
4048f010 651 |U32 hash
5ff52e3c 652ApbmM |SV** |hv_store_flags |NULLOK HV *hv|NULLOK const char *key \
4048f010 653 |I32 klen|NULLOK SV *val|U32 hash|int flags
8581adba
FC
654Amd |void |hv_undef |NULLOK HV *hv
655poX |void |hv_undef_flags |NULLOK HV *hv|U32 flags
e6226b18
KW
656Am |I32 |ibcmp |NN const char* a|NN const char* b|I32 len
657AnpP |I32 |foldEQ |NN const char* a|NN const char* b|I32 len
658Am |I32 |ibcmp_locale |NN const char* a|NN const char* b|I32 len
659AnpP |I32 |foldEQ_locale |NN const char* a|NN const char* b|I32 len
660Am |I32 |ibcmp_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
661 |bool u1|NN const char *s2|NULLOK char **pe2 \
662 |UV l2|bool u2
eda9cac1 663Amd |I32 |foldEQ_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
4048f010
NC
664 |bool u1|NN const char *s2|NULLOK char **pe2 \
665 |UV l2|bool u2
eda9cac1
KW
666AMp |I32 |foldEQ_utf8_flags |NN const char *s1|NULLOK char **pe1|UV l1 \
667 |bool u1|NN const char *s2|NULLOK char **pe2 \
668 |UV l2|bool u2|U32 flags
1b9f127b 669AnpP |I32 |foldEQ_latin1 |NN const char* a|NN const char* b|I32 len
43869a0c 670#if defined(PERL_IN_DOIO_C)
0da8eb3a
NC
671sR |bool |ingroup |Gid_t testgid|bool effective
672#endif
67022846 673: Used in toke.c
4373e329 674p |void |init_argv_symbols|int argc|NN char **argv
8af6f985
NC
675: Used in pp_ctl.c
676po |void |init_dbargs
67022846 677: Used in mg.c
94bdecf9
JH
678p |void |init_debugger
679Ap |void |init_stacks
bfce84ec 680Ap |void |init_tm |NN struct tm *ptm
67022846 681: Used in perly.y
4ee010a8 682AbmnpPR |char* |instr |NN const char* big|NN const char* little
67022846 683: Used in sv.c
96d7c888
FC
684p |bool |io_close |NN IO* io|NULLOK GV *gv \
685 |bool not_implicit|bool warn_on_fail
67022846 686: Used in perly.y
2d03de9c 687pR |OP* |invert |NULLOK OP* cmd
f54cb97a 688ApR |I32 |is_lvalue_sub
777d9014 689: Used in cop.h
eebd3bc0 690XopR |I32 |was_lvalue_sub
a4570f51 691#ifndef PERL_NO_INLINE_FUNCTIONS
edc2c47a 692ApMRnP |STRLEN |_is_utf8_char_helper|NN const U8 * const s|NN const U8 * e|const U32 flags
a4570f51 693#endif
a62e8919
KW
694ADMpR |U32 |to_uni_upper_lc|U32 c
695ADMpR |U32 |to_uni_title_lc|U32 c
696ADMpR |U32 |to_uni_lower_lc|U32 c
697ADMpR |bool |is_uni_alnum |UV c
698ADMpR |bool |is_uni_alnumc |UV c
699ADMpR |bool |is_uni_idfirst |UV c
700ADMpR |bool |is_uni_alpha |UV c
61b19385
KW
701ADMpPR |bool |is_uni_ascii |UV c
702ADMpPR |bool |is_uni_blank |UV c
703ADMpPR |bool |is_uni_space |UV c
704ADMpPR |bool |is_uni_cntrl |UV c
a62e8919
KW
705ADMpR |bool |is_uni_graph |UV c
706ADMpR |bool |is_uni_digit |UV c
707ADMpR |bool |is_uni_upper |UV c
708ADMpR |bool |is_uni_lower |UV c
709ADMpR |bool |is_uni_print |UV c
710ADMpR |bool |is_uni_punct |UV c
61b19385 711ADMpPR |bool |is_uni_xdigit |UV c
04665d07
KW
712AMp |UV |to_uni_upper |UV c|NN U8 *p|NN STRLEN *lenp
713AMp |UV |to_uni_title |UV c|NN U8 *p|NN STRLEN *lenp
a62e8919
KW
714ADMpR |bool |isIDFIRST_lazy |NN const char* p
715ADMpR |bool |isALNUM_lazy |NN const char* p
afc16117 716#ifdef PERL_IN_UTF8_C
81611534 717snR |U8 |to_lower_latin1|const U8 c|NULLOK U8 *p|NULLOK STRLEN *lenp
83dc0f42 718inPR |bool |is_utf8_cp_above_31_bits|NN const U8 * const s|NN const U8 * const e
fab2782b
YO
719#endif
720#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
e950ecba 721EXp |UV |_to_fold_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const unsigned int flags
afc16117 722#endif
348bf2e0
KW
723#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
724p |UV |_to_upper_title_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const char S_or_s
725#endif
04665d07
KW
726AMp |UV |to_uni_lower |UV c|NN U8 *p|NN STRLEN *lenp
727AMmp |UV |to_uni_fold |UV c|NN U8 *p|NN STRLEN *lenp
31f05a37 728AMp |UV |_to_uni_fold_flags|UV c|NN U8 *p|NN STRLEN *lenp|U8 flags
a62e8919
KW
729ADMpR |bool |is_uni_alnum_lc|UV c
730ADMpR |bool |is_uni_alnumc_lc|UV c
731ADMpR |bool |is_uni_idfirst_lc|UV c
eba68aa0 732AMpR |bool |_is_uni_perl_idcont|UV c
f91dcd13 733AMpR |bool |_is_uni_perl_idstart|UV c
a62e8919 734ADMpR |bool |is_uni_alpha_lc|UV c
61b19385
KW
735ADMpPR |bool |is_uni_ascii_lc|UV c
736ADMpPR |bool |is_uni_space_lc|UV c
737ADMpPR |bool |is_uni_blank_lc|UV c
738ADMpPR |bool |is_uni_cntrl_lc|UV c
a62e8919
KW
739ADMpR |bool |is_uni_graph_lc|UV c
740ADMpR |bool |is_uni_digit_lc|UV c
741ADMpR |bool |is_uni_upper_lc|UV c
742ADMpR |bool |is_uni_lower_lc|UV c
743ADMpR |bool |is_uni_print_lc|UV c
744ADMpR |bool |is_uni_punct_lc|UV c
61b19385 745ADMpPR |bool |is_uni_xdigit_lc|UV c
1e599354 746AnidRP |bool |is_utf8_invariant_string|NN const U8* const s|STRLEN const len
a4c56e8a
KW
747AmnpdRP |bool |is_ascii_string|NN const U8* const s|const STRLEN len
748AmnpdRP |bool |is_invariant_string|NN const U8* const s|const STRLEN len
76848387 749AnpdD |STRLEN |is_utf8_char |NN const U8 *s
3cedd9d9 750Abmnpd |STRLEN |is_utf8_char_buf|NN const U8 *buf|NN const U8 *buf_end
c41b2540 751AnipdP |bool |is_utf8_string |NN const U8 *s|const STRLEN len
9f2abfde
KW
752AnidP |bool |is_utf8_string_flags \
753 |NN const U8 *s|const STRLEN len|const U32 flags
754AnidP |bool |is_strict_utf8_string|NN const U8 *s|const STRLEN len
755AnidP |bool |is_c9strict_utf8_string|NN const U8 *s|const STRLEN len
756Anpdmb |bool |is_utf8_string_loc \
757 |NN const U8 *s|const STRLEN len|NN const U8 **ep
758Andm |bool |is_utf8_string_loc_flags \
759 |NN const U8 *s|const STRLEN len|NN const U8 **ep \
760 |const U32 flags
761Andm |bool |is_strict_utf8_string_loc \
762 |NN const U8 *s|const STRLEN len|NN const U8 **ep
763Andm |bool |is_c9strict_utf8_string_loc \
764 |NN const U8 *s|const STRLEN len|NN const U8 **ep
765Anipd |bool |is_utf8_string_loclen \
766 |NN const U8 *s|const STRLEN len|NULLOK const U8 **ep \
767 |NULLOK STRLEN *el
768Anid |bool |is_utf8_string_loclen_flags \
769 |NN const U8 *s|const STRLEN len|NULLOK const U8 **ep \
770 |NULLOK STRLEN *el|const U32 flags
771Anid |bool |is_strict_utf8_string_loclen \
772 |NN const U8 *s|const STRLEN len|NULLOK const U8 **ep \
773 |NULLOK STRLEN *el
774Anid |bool |is_c9strict_utf8_string_loclen \
775 |NN const U8 *s|const STRLEN len|NULLOK const U8 **ep \
776 |NULLOK STRLEN *el
8bc127bf
KW
777Amnd |bool |is_utf8_fixed_width_buf_flags \
778 |NN const U8 * const s|const STRLEN len|const U32 flags
779Amnd |bool |is_utf8_fixed_width_buf_loc_flags \
780 |NN const U8 * const s|const STRLEN len \
781 |NULLOK const U8 **ep|const U32 flags
782Anid |bool |is_utf8_fixed_width_buf_loclen_flags \
783 |NN const U8 * const s|const STRLEN len \
784 |NULLOK const U8 **ep|NULLOK STRLEN *el|const U32 flags
f1c999a7
KW
785AmndP |bool |is_utf8_valid_partial_char \
786 |NN const U8 * const s|NN const U8 * const e
787AnidP |bool |is_utf8_valid_partial_char_flags \
788 |NN const U8 * const s|NN const U8 * const e|const U32 flags
922e8cb4
KW
789AMpR |bool |_is_uni_FOO|const U8 classnum|const UV c
790AMpR |bool |_is_utf8_FOO|const U8 classnum|NN const U8 *p
143aeb96
KW
791ADMpR |bool |is_utf8_alnum |NN const U8 *p
792ADMpR |bool |is_utf8_alnumc |NN const U8 *p
61b19385
KW
793ADMpR |bool |is_utf8_idfirst|NN const U8 *p
794ADMpR |bool |is_utf8_xidfirst|NN const U8 *p
f2645549
KW
795AMpR |bool |_is_utf8_idcont|NN const U8 *p
796AMpR |bool |_is_utf8_idstart|NN const U8 *p
797AMpR |bool |_is_utf8_xidcont|NN const U8 *p
798AMpR |bool |_is_utf8_xidstart|NN const U8 *p
eba68aa0 799AMpR |bool |_is_utf8_perl_idcont|NN const U8 *p
d65654cb 800AMpR |bool |_is_utf8_perl_idstart|NN const U8 *p
61b19385
KW
801ADMpR |bool |is_utf8_idcont |NN const U8 *p
802ADMpR |bool |is_utf8_xidcont |NN const U8 *p
143aeb96 803ADMpR |bool |is_utf8_alpha |NN const U8 *p
61b19385
KW
804ADMpR |bool |is_utf8_ascii |NN const U8 *p
805ADMpR |bool |is_utf8_blank |NN const U8 *p
806ADMpR |bool |is_utf8_space |NN const U8 *p
807ADMpR |bool |is_utf8_perl_space |NN const U8 *p
808ADMpR |bool |is_utf8_perl_word |NN const U8 *p
809ADMpR |bool |is_utf8_cntrl |NN const U8 *p
143aeb96 810ADMpR |bool |is_utf8_digit |NN const U8 *p
61b19385 811ADMpR |bool |is_utf8_posix_digit |NN const U8 *p
143aeb96
KW
812ADMpR |bool |is_utf8_graph |NN const U8 *p
813ADMpR |bool |is_utf8_upper |NN const U8 *p
814ADMpR |bool |is_utf8_lower |NN const U8 *p
815ADMpR |bool |is_utf8_print |NN const U8 *p
816ADMpR |bool |is_utf8_punct |NN const U8 *p
61b19385 817ADMpR |bool |is_utf8_xdigit |NN const U8 *p
7dbf68d2 818AMpR |bool |_is_utf8_mark |NN const U8 *p
143aeb96 819ADMpR |bool |is_utf8_mark |NN const U8 *p
67022846 820: Used in perly.y
4048f010 821p |OP* |jmaybe |NN OP *o
67022846 822: Used in pp.c
4048f010 823pP |I32 |keyword |NN const char *name|I32 len|bool all_keywords
43869a0c 824#if defined(PERL_IN_OP_C)
540dd770 825s |void |inplace_aassign |NN OP* o
867fa1e2 826#endif
94bdecf9 827Ap |void |leave_scope |I32 base
f0e67a1d 828: Public lexer API
8eaa0acf 829AMpd |void |lex_start |NULLOK SV* line|NULLOK PerlIO *rsfp|U32 flags
abe97742
NC
830AMpd |bool |lex_bufutf8
831AMpd |char* |lex_grow_linestr|STRLEN len
83aa740e 832AMpd |void |lex_stuff_pvn |NN const char* pv|STRLEN len|U32 flags
9dcc53ea 833AMpd |void |lex_stuff_pv |NN const char* pv|U32 flags
abe97742
NC
834AMpd |void |lex_stuff_sv |NN SV* sv|U32 flags
835AMpd |void |lex_unstuff |NN char* ptr
836AMpd |void |lex_read_to |NN char* ptr
837AMpd |void |lex_discard_to |NN char* ptr
838AMpd |bool |lex_next_chunk |U32 flags
839AMpd |I32 |lex_peek_unichar|U32 flags
840AMpd |I32 |lex_read_unichar|U32 flags
841AMpd |void |lex_read_space |U32 flags
28ac2b49 842: Public parser API
78cdf107
Z
843AMpd |OP* |parse_arithexpr|U32 flags
844AMpd |OP* |parse_termexpr |U32 flags
845AMpd |OP* |parse_listexpr |U32 flags
846AMpd |OP* |parse_fullexpr |U32 flags
e53d8f76 847AMpd |OP* |parse_block |U32 flags
8359b381 848AMpd |OP* |parse_barestmt |U32 flags
361d9b55 849AMpd |SV* |parse_label |U32 flags
28ac2b49 850AMpd |OP* |parse_fullstmt |U32 flags
07ffcb73 851AMpd |OP* |parse_stmtseq |U32 flags
f0e67a1d 852: Used in various files
1d70cb64 853Apd |void |op_null |NN OP* o
d67fec57 854: FIXME. Used by Data::Alias
6d9a2efc 855EXp |void |op_clear |NN OP* o
4026c95a
SH
856Ap |void |op_refcnt_lock
857Ap |void |op_refcnt_unlock
3269ea41 858Apdn |OP* |op_sibling_splice|NULLOK OP *parent|NULLOK OP *start \
3253bf85 859 |int del_count|NULLOK OP* insert
1fafe688 860#ifdef PERL_OP_PARENT
8ae26bff 861Apdn |OP* |op_parent|NN OP *o
1fafe688 862#endif
43869a0c 863#if defined(PERL_IN_OP_C)
412da003 864s |OP* |listkids |NULLOK OP* o
2dd5337b 865#endif
aec46f14 866p |OP* |list |NULLOK OP* o
aec46f14
AL
867Apd |void |load_module|U32 flags|NN SV* name|NULLOK SV* ver|...
868Ap |void |vload_module|U32 flags|NN SV* name|NULLOK SV* ver|NULLOK va_list* args
67022846 869: Used in perly.y
4048f010 870p |OP* |localize |NN OP *o|I32 lex
aad570aa 871ApdR |I32 |looks_like_number|NN SV *const sv
7827dc65 872Apd |UV |grok_bin |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
ce54a8b9
KW
873#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_DQUOTE_C)
874EMpRX |bool |grok_bslash_x |NN char** s|NN UV* uv \
17896a85
KW
875 |NN const char** error_msg \
876 |const bool output_warning \
877 |const bool strict \
878 |const bool silence_non_portable \
879 |const bool utf8
a55c5245
JH
880EMpRX |char |grok_bslash_c |const char source|const bool output_warning
881EMpRX |bool |grok_bslash_o |NN char** s|NN UV* uv \
17896a85
KW
882 |NN const char** error_msg \
883 |const bool output_warning \
884 |const bool strict \
885 |const bool silence_non_portable \
886 |const bool utf8
ce54a8b9 887EMiR |char*|form_short_octal_warning|NN const char * const s \
5e0a247b 888 |const STRLEN len
ce54a8b9
KW
889EiPRn |I32 |regcurly |NN const char *s
890#endif
7827dc65 891Apd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
3823048b 892Apd |int |grok_infnan |NN const char** sp|NN const char *send
7827dc65 893Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep
3f7602fa 894Apd |int |grok_number_flags|NN const char *pv|STRLEN len|NULLOK UV *valuep|U32 flags
bfce84ec 895ApdR |bool |grok_numeric_radix|NN const char **sp|NN const char *send
7827dc65 896Apd |UV |grok_oct |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
73e43954 897EXpn |bool |grok_atoUV |NN const char* pv|NN UV* valptr|NULLOK const char** endptr
67022846 898: These are all indirectly referenced by globals.c. This is somewhat annoying.
bfce84ec
AL
899p |int |magic_clearenv |NN SV* sv|NN MAGIC* mg
900p |int |magic_clear_all_env|NN SV* sv|NN MAGIC* mg
b3ca2e83 901dp |int |magic_clearhint|NN SV* sv|NN MAGIC* mg
f747ebd6 902dp |int |magic_clearhints|NN SV* sv|NN MAGIC* mg
0e446081 903p |int |magic_clearisa |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
904p |int |magic_clearpack|NN SV* sv|NN MAGIC* mg
905p |int |magic_clearsig |NN SV* sv|NN MAGIC* mg
09fb282d
FC
906p |int |magic_copycallchecker|NN SV* sv|NN MAGIC *mg|NN SV *nsv \
907 |NULLOK const char *name|I32 namlen
1146e912 908p |int |magic_existspack|NN SV* sv|NN const MAGIC* mg
bfce84ec
AL
909p |int |magic_freeovrld|NN SV* sv|NN MAGIC* mg
910p |int |magic_get |NN SV* sv|NN MAGIC* mg
8772537c 911p |int |magic_getarylen|NN SV* sv|NN const MAGIC* mg
bfce84ec 912p |int |magic_getdefelem|NN SV* sv|NN MAGIC* mg
a6d69523 913p |int |magic_getdebugvar|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
914p |int |magic_getnkeys |NN SV* sv|NN MAGIC* mg
915p |int |magic_getpack |NN SV* sv|NN MAGIC* mg
916p |int |magic_getpos |NN SV* sv|NN MAGIC* mg
917p |int |magic_getsig |NN SV* sv|NN MAGIC* mg
918p |int |magic_getsubstr|NN SV* sv|NN MAGIC* mg
919p |int |magic_gettaint |NN SV* sv|NN MAGIC* mg
920p |int |magic_getuvar |NN SV* sv|NN MAGIC* mg
921p |int |magic_getvec |NN SV* sv|NN MAGIC* mg
4048f010 922p |int |magic_nextpack |NN SV *sv|NN MAGIC *mg|NN SV *key
bfce84ec
AL
923p |U32 |magic_regdata_cnt|NN SV* sv|NN MAGIC* mg
924p |int |magic_regdatum_get|NN SV* sv|NN MAGIC* mg
73758d77 925:removing noreturn to silence a warning for this function resulted in no
f8d5a522
DD
926:change to the interpreter DLL image under VS 2003 -O1 -GL 32 bits only because
927:this is used in a magic vtable, do not use this on conventionally called funcs
518a5310
SH
928#ifdef _MSC_VER
929p |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
930#else
bfce84ec 931pr |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
518a5310 932#endif
bfce84ec 933p |int |magic_set |NN SV* sv|NN MAGIC* mg
bfce84ec 934p |int |magic_setarylen|NN SV* sv|NN MAGIC* mg
83f29afa 935p |int |magic_cleararylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 936p |int |magic_freearylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 937p |int |magic_setdbline|NN SV* sv|NN MAGIC* mg
a6d69523 938p |int |magic_setdebugvar|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
939p |int |magic_setdefelem|NN SV* sv|NN MAGIC* mg
940p |int |magic_setenv |NN SV* sv|NN MAGIC* mg
b3ca2e83 941dp |int |magic_sethint |NN SV* sv|NN MAGIC* mg
bfce84ec 942p |int |magic_setisa |NN SV* sv|NN MAGIC* mg
9cce4f9a 943p |int |magic_setlvref |NN SV* sv|NN MAGIC* mg
bfce84ec
AL
944p |int |magic_setmglob |NN SV* sv|NN MAGIC* mg
945p |int |magic_setnkeys |NN SV* sv|NN MAGIC* mg
946p |int |magic_setpack |NN SV* sv|NN MAGIC* mg
947p |int |magic_setpos |NN SV* sv|NN MAGIC* mg
948p |int |magic_setregexp|NN SV* sv|NN MAGIC* mg
38a124f0 949p |int |magic_setsig |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
950p |int |magic_setsubstr|NN SV* sv|NN MAGIC* mg
951p |int |magic_settaint |NN SV* sv|NN MAGIC* mg
952p |int |magic_setuvar |NN SV* sv|NN MAGIC* mg
953p |int |magic_setvec |NN SV* sv|NN MAGIC* mg
954p |int |magic_setutf8 |NN SV* sv|NN MAGIC* mg
955p |int |magic_set_all_env|NN SV* sv|NN MAGIC* mg
956p |U32 |magic_sizepack |NN SV* sv|NN MAGIC* mg
957p |int |magic_wipepack |NN SV* sv|NN MAGIC* mg
046b0c7d 958pod |SV* |magic_methcall |NN SV *sv|NN const MAGIC *mg \
36925d9e 959 |NN SV *meth|U32 flags \
046b0c7d 960 |U32 argc|...
ba5248fc 961Ap |I32 * |markstack_grow
94bdecf9 962#if defined(USE_LOCALE_COLLATE)
b22e6366 963p |int |magic_setcollxfrm|NN SV* sv|NN MAGIC* mg
78d57975 964pb |char* |mem_collxfrm |NN const char* input_string|STRLEN len|NN STRLEN* xlen
67022846 965: Defined in locale.c, used only in sv.c
78d57975 966# if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C)
a4a439fb
KW
967pM |char* |_mem_collxfrm |NN const char* input_string \
968 |STRLEN len \
969 |NN STRLEN* xlen \
970 |bool utf8
971# endif
94bdecf9 972#endif
c5df3096
Z
973Afpd |SV* |mess |NN const char* pat|...
974Apd |SV* |mess_sv |NN SV* basemsg|bool consume
975Apd |SV* |vmess |NN const char* pat|NULLOK va_list* args
d67fec57
NC
976: FIXME - either make it public, or stop exporting it. (Data::Alias uses this)
977: Used in gv.c, op.c, toke.c
6d9a2efc 978EXp |void |qerror |NN SV* err
3d4dd4c7
NC
979Apd |void |sortsv |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp
980Apd |void |sortsv_flags |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp|U32 flags
9a957fbc 981Apd |int |mg_clear |NN SV* sv
4048f010
NC
982Apd |int |mg_copy |NN SV *sv|NN SV *nsv|NULLOK const char *key \
983 |I32 klen
67022846 984: Defined in mg.c, used only in scope.c
af7df257 985pd |void |mg_localize |NN SV* sv|NN SV* nsv|bool setmagic
ddeaf645
DD
986ApdRn |MAGIC* |mg_find |NULLOK const SV* sv|int type
987ApdRn |MAGIC* |mg_findext |NULLOK const SV* sv|int type|NULLOK const MGVTBL *vtbl
96c2a8ff 988: exported for re.pm
d4431b89 989EXpR |MAGIC* |mg_find_mglob |NN SV* sv
9a957fbc 990Apd |int |mg_free |NN SV* sv
d9088386 991Apd |void |mg_free_type |NN SV* sv|int how
9a957fbc 992Apd |int |mg_get |NN SV* sv
bd8446cf 993ApdD |U32 |mg_length |NN SV* sv
ddeaf645 994Apdn |void |mg_magical |NN SV* sv
9a957fbc
AL
995Apd |int |mg_set |NN SV* sv
996Ap |I32 |mg_size |NN SV* sv
ddeaf645 997Apn |void |mini_mktime |NN struct tm *ptm
d3d7d28f
FC
998AMmd |OP* |op_lvalue |NULLOK OP* o|I32 type
999poX |OP* |op_lvalue_flags|NULLOK OP* o|I32 type|U32 flags
d164302a
GG
1000p |void |finalize_optree |NN OP* o
1001#if defined(PERL_IN_OP_C)
1002s |void |finalize_op |NN OP* o
eedb00fa 1003s |void |move_proto_attr|NN OP **proto|NN OP **attrs|NN const GV *name
d164302a 1004#endif
67022846 1005: Used in op.c and pp_sys.c
a79b25b7 1006p |int |mode_from_discipline|NULLOK const char* s|STRLEN len
c7030b81 1007Ap |const char* |moreswitches |NN const char* s
4373e329 1008Ap |NV |my_atof |NN const char *s
af4291a8 1009#if !defined(HAS_MEMCPY) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY))
99fff99d 1010Anp |void* |my_bcopy |NN const void* vfrom|NN void* vto|size_t len
94bdecf9
JH
1011#endif
1012#if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
99fff99d 1013Anp |void* |my_bzero |NN void* vloc|size_t len
94bdecf9
JH
1014#endif
1015Apr |void |my_exit |U32 status
1016Apr |void |my_failure_exit
1017Ap |I32 |my_fflush_all
1018Anp |Pid_t |my_fork
1019Anp |void |atfork_lock
1020Anp |void |atfork_unlock
0d7d409d
DM
1021Apmb |I32 |my_lstat
1022pX |I32 |my_lstat_flags |NULLOK const U32 flags
94bdecf9 1023#if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
99fff99d 1024AnpP |int |my_memcmp |NN const void* vs1|NN const void* vs2|size_t len
94bdecf9
JH
1025#endif
1026#if !defined(HAS_MEMSET)
99fff99d 1027Anp |void* |my_memset |NN void* vloc|int ch|size_t len
94bdecf9 1028#endif
875ca36f 1029#if !defined(PERL_IMPLICIT_SYS)
bfce84ec
AL
1030Ap |I32 |my_pclose |NULLOK PerlIO* ptr
1031Ap |PerlIO*|my_popen |NN const char* cmd|NN const char* mode
875ca36f 1032#endif
c9289b7b 1033Ap |PerlIO*|my_popen_list |NN const char* mode|int n|NN SV ** args
bfce84ec 1034Ap |void |my_setenv |NULLOK const char* nam|NULLOK const char* val
0d7d409d
DM
1035Apmb |I32 |my_stat
1036pX |I32 |my_stat_flags |NULLOK const U32 flags
531b2663 1037Afp |char * |my_strftime |NN const char *fmt|int sec|int min|int hour|int mday|int mon|int year|int wday|int yday|int isdst
67022846 1038: Used in pp_ctl.c
94bdecf9 1039p |void |my_unexec
3f1866a8
KW
1040AbDMnPR |UV |NATIVE_TO_NEED |const UV enc|const UV ch
1041AbDMnPR |UV |ASCII_TO_NEED |const UV enc|const UV ch
346c6a29
DM
1042ApR |OP* |newANONLIST |NULLOK OP* o
1043ApR |OP* |newANONHASH |NULLOK OP* o
bfce84ec 1044Ap |OP* |newANONSUB |I32 floor|NULLOK OP* proto|NULLOK OP* block
346c6a29
DM
1045ApdR |OP* |newASSIGNOP |I32 flags|NULLOK OP* left|I32 optype|NULLOK OP* right
1046ApdR |OP* |newCONDOP |I32 flags|NN OP* first|NULLOK OP* trueop|NULLOK OP* falseop
99ab892b 1047Apd |CV* |newCONSTSUB |NULLOK HV* stash|NULLOK const char* name|NULLOK SV* sv
9c0a6090
FC
1048Apd |CV* |newCONSTSUB_flags|NULLOK HV* stash \
1049 |NULLOK const char* name|STRLEN len \
1050 |U32 flags|NULLOK SV* sv
aec46f14 1051Ap |void |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block
346c6a29
DM
1052ApdR |OP* |newFOROP |I32 flags|NULLOK OP* sv|NN OP* expr|NULLOK OP* block|NULLOK OP* cont
1053ApdR |OP* |newGIVENOP |NN OP* cond|NN OP* block|PADOFFSET defsv_off
1054ApdR |OP* |newLOGOP |I32 optype|I32 flags|NN OP *first|NN OP *other
6cb4123e 1055pM |LOGOP* |alloc_LOGOP |I32 type|NULLOK OP *first|NULLOK OP *other
346c6a29
DM
1056ApdR |OP* |newLOOPEX |I32 type|NN OP* label
1057ApdR |OP* |newLOOPOP |I32 flags|I32 debuggable|NULLOK OP* expr|NULLOK OP* block
1058ApdR |OP* |newNULLLIST
1059ApdR |OP* |newOP |I32 optype|I32 flags
f54cb97a 1060Ap |void |newPROG |NN OP* o
346c6a29
DM
1061ApdR |OP* |newRANGE |I32 flags|NN OP* left|NN OP* right
1062ApdR |OP* |newSLICEOP |I32 flags|NULLOK OP* subscript|NULLOK OP* listop
1063ApdR |OP* |newSTATEOP |I32 flags|NULLOK char* label|NULLOK OP* o
5ff52e3c 1064Apbm |CV* |newSUB |I32 floor|NULLOK OP* o|NULLOK OP* proto \
7bff8c33 1065 |NULLOK OP* block
032a0447
FC
1066p |CV * |newXS_len_flags|NULLOK const char *name|STRLEN len \
1067 |NN XSUBADDR_t subaddr\
9a189793 1068 |NULLOK const char *const filename \
8f82b567
FC
1069 |NULLOK const char *const proto \
1070 |NULLOK SV **const_svp|U32 flags
9a189793 1071pX |CV * |newXS_deffile |NN const char *name|NN XSUBADDR_t subaddr
77004dee
NC
1072ApM |CV * |newXS_flags |NULLOK const char *name|NN XSUBADDR_t subaddr\
1073 |NN const char *const filename \
1074 |NULLOK const char *const proto|U32 flags
4048f010
NC
1075Apd |CV* |newXS |NULLOK const char *name|NN XSUBADDR_t subaddr\
1076 |NN const char *filename
5ff52e3c 1077ApmdbR |AV* |newAV
346c6a29
DM
1078ApR |OP* |newAVREF |NN OP* o
1079ApdR |OP* |newBINOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
1080ApR |OP* |newCVREF |I32 flags|NULLOK OP* o
1081ApdR |OP* |newGVOP |I32 type|I32 flags|NN GV* gv
20980f01 1082Am |GV* |newGVgen |NN const char* pack
346c6a29
DM
1083ApR |GV* |newGVgen_flags |NN const char* pack|U32 flags
1084ApR |OP* |newGVREF |I32 type|NULLOK OP* o
1085ApR |OP* |newHVREF |NN OP* o
5ff52e3c 1086ApmdbR |HV* |newHV
346c6a29
DM
1087ApR |HV* |newHVhv |NULLOK HV *hv
1088ApRbm |IO* |newIO
1089ApdR |OP* |newLISTOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
1090AMpdRn |PADNAME *|newPADNAMEouter|NN PADNAME *outer
1091AMpdRn |PADNAME *|newPADNAMEpvn|NN const char *s|STRLEN len
1092AMpdRn |PADNAMELIST *|newPADNAMELIST|size_t max
392d04bb 1093#ifdef USE_ITHREADS
346c6a29
DM
1094ApdR |OP* |newPADOP |I32 type|I32 flags|NN SV* sv
1095#endif
1096ApdR |OP* |newPMOP |I32 type|I32 flags
1097ApdR |OP* |newPVOP |I32 type|I32 flags|NULLOK char* pv
1098ApR |SV* |newRV |NN SV *const sv
1099ApdR |SV* |newRV_noinc |NN SV *const tmpRef
1100ApdR |SV* |newSV |const STRLEN len
1101ApR |OP* |newSVREF |NN OP* o
1102ApdR |OP* |newSVOP |I32 type|I32 flags|NN SV* sv
ce409cc8 1103ApdR |OP* |newDEFSVOP
346c6a29
DM
1104pR |SV* |newSVavdefelem |NN AV *av|SSize_t ix|bool extendible
1105ApdR |SV* |newSViv |const IV i
1106ApdR |SV* |newSVuv |const UV u
1107ApdR |SV* |newSVnv |const NV n
1108ApdR |SV* |newSVpv |NULLOK const char *const s|const STRLEN len
1109ApdR |SV* |newSVpvn |NULLOK const char *const s|const STRLEN len
1110ApdR |SV* |newSVpvn_flags |NULLOK const char *const s|const STRLEN len|const U32 flags
1111ApdR |SV* |newSVhek |NULLOK const HEK *const hek
1112ApdR |SV* |newSVpvn_share |NULLOK const char* s|I32 len|U32 hash
1113ApdR |SV* |newSVpv_share |NULLOK const char* s|U32 hash
1114AfpdR |SV* |newSVpvf |NN const char *const pat|...
1115ApR |SV* |vnewSVpvf |NN const char *const pat|NULLOK va_list *const args
12964ddd 1116Apd |SV* |newSVrv |NN SV *const rv|NULLOK const char *const classname
346c6a29
DM
1117ApdR |SV* |newSVsv |NULLOK SV *const old
1118ApdR |SV* |newSV_type |const svtype type
1119ApdR |OP* |newUNOP |I32 type|I32 flags|NULLOK OP* first
1120ApdR |OP* |newUNOP_AUX |I32 type|I32 flags|NULLOK OP* first \
2f7c6295 1121 |NULLOK UNOP_AUX_item *aux
346c6a29
DM
1122ApdR |OP* |newWHENOP |NULLOK OP* cond|NN OP* block
1123ApdR |OP* |newWHILEOP |I32 flags|I32 debuggable|NULLOK LOOP* loop \
94bf0465 1124 |NULLOK OP* expr|NULLOK OP* block|NULLOK OP* cont \
a034e688 1125 |I32 has_my
346c6a29
DM
1126ApdR |OP* |newMETHOP |I32 type|I32 flags|NN OP* dynamic_meth
1127ApdR |OP* |newMETHOP_named|I32 type|I32 flags|NN SV* const_meth
d9088386
Z
1128Apd |CV* |rv2cv_op_cv |NN OP *cvop|U32 flags
1129Apd |OP* |ck_entersub_args_list|NN OP *entersubop
1130Apd |OP* |ck_entersub_args_proto|NN OP *entersubop|NN GV *namegv|NN SV *protosv
1131Apd |OP* |ck_entersub_args_proto_or_list|NN OP *entersubop|NN GV *namegv|NN SV *protosv
4aaa4757
FC
1132po |OP* |ck_entersub_args_core|NN OP *entersubop|NN GV *namegv \
1133 |NN SV *protosv
d9088386
Z
1134Apd |void |cv_get_call_checker|NN CV *cv|NN Perl_call_checker *ckfun_p|NN SV **ckobj_p
1135Apd |void |cv_set_call_checker|NN CV *cv|NN Perl_call_checker ckfun|NN SV *ckobj
aa38f4b1
FC
1136Apd |void |cv_set_call_checker_flags|NN CV *cv \
1137 |NN Perl_call_checker ckfun \
1138 |NN SV *ckobj|U32 flags
e8570548 1139Apd |void |wrap_op_checker|Optype opcode|NN Perl_check_t new_checker|NN Perl_check_t *old_checker_p
346c6a29 1140ApR |PERL_SI*|new_stackinfo|I32 stitems|I32 cxitems
4048f010
NC
1141Ap |char* |scan_vstring |NN const char *s|NN const char *const e \
1142 |NN SV *sv
9f6cc744 1143Apd |const char* |scan_version |NN const char *s|NN SV *rv|bool qv
91152fc1 1144Apd |const char* |prescan_version |NN const char *s\
5747a2f6
RGS
1145 |bool strict|NULLOK const char** errstr|NULLOK bool *sqv\
1146 |NULLOK int *ssaw_decimal|NULLOK int *swidth|NULLOK bool *salpha
2d03de9c 1147Apd |SV* |new_version |NN SV *ver
ac0e6a2f 1148Apd |SV* |upg_version |NN SV *ver|bool qv
5de8bffd 1149Apd |SV* |vverify |NN SV *vs
2d03de9c
AL
1150Apd |SV* |vnumify |NN SV *vs
1151Apd |SV* |vnormal |NN SV *vs
1152Apd |SV* |vstringify |NN SV *vs
9f6cc744 1153Apd |int |vcmp |NN SV *lhv|NN SV *rhv
67022846 1154: Used in pp_hot.c and pp_sys.c
157fb5a1 1155p |PerlIO*|nextargv |NN GV* gv|bool nomagicopen
b8070b07
KW
1156#ifdef HAS_MEMMEM
1157AdnopP |char* |ninstr |NN const char* big|NN const char* bigend \
1158 |NN const char* little|NN const char* lend
1159#else
52de5f36 1160AdnpP |char* |ninstr |NN const char* big|NN const char* bigend \
2d03de9c 1161 |NN const char* little|NN const char* lend
b8070b07 1162#endif
1d70cb64 1163Apd |void |op_free |NULLOK OP* arg
705fe0e5 1164Mp |OP* |op_unscope |NULLOK OP* o
7aef8e5b 1165#ifdef PERL_CORE
8be227ab
FC
1166p |void |opslab_free |NN OPSLAB *slab
1167p |void |opslab_free_nopad|NN OPSLAB *slab
1168p |void |opslab_force_free|NN OPSLAB *slab
1169#endif
67022846 1170: Used in perly.y
2d03de9c 1171p |void |package |NN OP* o
6fa4d285
DG
1172: Used in perly.y
1173p |void |package_version|NN OP* v
67022846 1174: Used in toke.c and perly.y
d6447115
NC
1175p |PADOFFSET|allocmy |NN const char *const name|const STRLEN len\
1176 |const U32 flags
d4d03940 1177#ifdef USE_ITHREADS
c0b8aebd 1178AMp |PADOFFSET|alloccopstash|NN HV *hv
d4d03940 1179#endif
67022846 1180: Used in perly.y
1df70142 1181pR |OP* |oopsAV |NN OP* o
67022846 1182: Used in perly.y
1df70142 1183pR |OP* |oopsHV |NN OP* o
cc76b5cc 1184
1a0a2ba9 1185: peephole optimiser
666e7765 1186p |void |peep |NULLOK OP* o
1a0a2ba9 1187p |void |rpeep |NULLOK OP* o
67022846 1188: Defined in doio.c, used only in pp_hot.c
4048f010 1189dopM |PerlIO*|start_glob |NN SV *tmpglob|NN IO *io
f59c1a32 1190
10bc17b6 1191Ap |void |reentrant_size
59bd0823 1192Ap |void |reentrant_init
10bc17b6 1193Ap |void |reentrant_free
4048f010 1194Anp |void* |reentrant_retry|NN const char *f|...
f59c1a32 1195
7b53c8ee
NC
1196: "Very" special - can't use the O flag for this one:
1197: (The rename from perl_atexit to Perl_call_atexit was in 864dbfa3ca8032ef)
7827dc65 1198Ap |void |call_atexit |ATEXIT_t fn|NULLOK void *ptr
7b53c8ee
NC
1199ApdO |I32 |call_argv |NN const char* sub_name|I32 flags|NN char** argv
1200ApdO |I32 |call_method |NN const char* methname|I32 flags
1201ApdO |I32 |call_pv |NN const char* sub_name|I32 flags
1202ApdO |I32 |call_sv |NN SV* sv|VOL I32 flags
5290524f 1203Ap |void |despatch_signals
e4c5ccf3 1204Ap |OP * |doref |NN OP *o|I32 type|bool set_op_ref
7b53c8ee
NC
1205ApdO |SV* |eval_pv |NN const char* p|I32 croak_on_error
1206ApdO |I32 |eval_sv |NN SV* sv|I32 flags
1207ApdO |SV* |get_sv |NN const char *name|I32 flags
1208ApdO |AV* |get_av |NN const char *name|I32 flags
1209ApdO |HV* |get_hv |NN const char *name|I32 flags
1210ApdO |CV* |get_cv |NN const char* name|I32 flags
780a5241 1211Apd |CV* |get_cvn_flags |NN const char* name|STRLEN len|I32 flags
b385bb4d 1212#ifdef WIN32
a62e8919 1213ApM |char* |my_setlocale |int category|NULLOK const char* locale
b385bb4d 1214#else
a62e8919 1215AmM |char* |my_setlocale |int category|NULLOK const char* locale
b385bb4d 1216#endif
94d52e62
KW
1217ApOM |int |init_i18nl10n |int printwarn
1218ApOM |int |init_i18nl14n |int printwarn
2c6ee1a7 1219ApM |char* |my_strerror |const int errnum
94d52e62
KW
1220ApOM |void |new_collate |NULLOK const char* newcoll
1221ApOM |void |new_ctype |NN const char* newctype
e6cc39ca 1222EXpMn |void |_warn_problematic_locale
94d52e62 1223ApOM |void |new_numeric |NULLOK const char* newcoll
94bdecf9
JH
1224Ap |void |set_numeric_local
1225Ap |void |set_numeric_radix
1226Ap |void |set_numeric_standard
d6ded950 1227ApM |bool |_is_in_locale_category|const bool compiling|const int category
747c467a 1228Apd |void |sync_locale
7b53c8ee 1229ApdO |void |require_pv |NN const char* pv
2d03de9c
AL
1230Apd |void |pack_cat |NN SV *cat|NN const char *pat|NN const char *patend \
1231 |NN SV **beglist|NN SV **endlist|NN SV ***next_in_list|U32 flags
1232Apd |void |packlist |NN SV *cat|NN const char *pat|NN const char *patend|NN SV **beglist|NN SV **endlist
ed4173ef
NC
1233#if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
1234s |void |pidgone |Pid_t pid|int status
ca0c25f6 1235#endif
67022846 1236: Used in perly.y
9b6b7be8 1237p |OP* |pmruntime |NN OP *o|NN OP *expr|NULLOK OP *repl \
5012eebe 1238 |UV flags|I32 floor
43869a0c 1239#if defined(PERL_IN_OP_C)
0d86688d
NC
1240s |OP* |pmtrans |NN OP* o|NN OP* expr|NN OP* repl
1241#endif
94bdecf9 1242Ap |void |pop_scope
94bdecf9 1243Ap |void |push_scope
5ff52e3c 1244Apmb |OP* |ref |NULLOK OP* o|I32 type
43869a0c 1245#if defined(PERL_IN_OP_C)
0d86688d
NC
1246s |OP* |refkids |NULLOK OP* o|I32 type
1247#endif
097eb12c 1248Ap |void |regdump |NN const regexp* r
768f8d98 1249ApM |SV* |regclass_swash |NULLOK const regexp *prog \
4048f010
NC
1250 |NN const struct regnode *node|bool doinit \
1251 |NULLOK SV **listsvp|NULLOK SV **altsvp
b24b43f7 1252#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
7b8dd5f4 1253AMpR |SV* |_new_invlist_C_array|NN const UV* const list
709be747 1254EXMp |bool |_invlistEQ |NN SV* const a|NN SV* const b|const bool complement_b
4c9daa0a 1255#endif
49d7dfbc 1256Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \
ea3daa5d
FC
1257 |NN char* strend|NN char* strbeg \
1258 |SSize_t minend |NN SV* screamer|U32 nosave
84679df5 1259Ap |void |pregfree |NULLOK REGEXP* r
4048f010 1260Ap |void |pregfree2 |NN REGEXP *rx
d67fec57 1261: FIXME - is anything in re using this now?
f0826785 1262EXp |REGEXP*|reg_temp_copy |NULLOK REGEXP* ret_x|NN REGEXP* rx
4048f010 1263Ap |void |regfree_internal|NN REGEXP *const rx
a3c0e9ca 1264#if defined(USE_ITHREADS)
49d7dfbc 1265Ap |void* |regdupe_internal|NN REGEXP * const r|NN CLONE_PARAMS* param
a3c0e9ca 1266#endif
3c13cae6 1267EXp |regexp_engine const *|current_re_engine
1593ad57 1268Ap |REGEXP*|pregcomp |NN SV * const pattern|const U32 flags
9f141731
DM
1269p |REGEXP*|re_op_compile |NULLOK SV ** const patternp \
1270 |int pat_count|NULLOK OP *expr \
3c13cae6 1271 |NN const regexp_engine* eng \
1067df30 1272 |NULLOK REGEXP *old_re \
76ac488f 1273 |NULLOK bool *is_bare_re \
514a91f1 1274 |U32 rx_flags|U32 pm_flags
37acfcba 1275Ap |REGEXP*|re_compile |NN SV * const pattern|U32 orig_rx_flags
52a21eb3
DM
1276Ap |char* |re_intuit_start|NN REGEXP * const rx \
1277 |NULLOK SV* sv \
1278 |NN const char* const strbeg \
1279 |NN char* strpos \
1280 |NN char* strend \
1281 |const U32 flags \
9f61653a 1282 |NULLOK re_scream_pos_data *data
4048f010
NC
1283Ap |SV* |re_intuit_string|NN REGEXP *const r
1284Ap |I32 |regexec_flags |NN REGEXP *const rx|NN char *stringarg \
ea3daa5d
FC
1285 |NN char *strend|NN char *strbeg \
1286 |SSize_t minend|NN SV *sv \
1287 |NULLOK void *data|U32 flags
8074533a 1288ApR |regnode*|regnext |NULLOK regnode* p
e950ecba 1289EXp |SV*|reg_named_buff |NN REGEXP * const rx|NULLOK SV * const key \
192b9cd1 1290 |NULLOK SV * const value|const U32 flags
e950ecba 1291EXp |SV*|reg_named_buff_iter |NN REGEXP * const rx|NULLOK const SV * const lastkey \
192b9cd1 1292 |const U32 flags
e950ecba
KW
1293Ap |SV*|reg_named_buff_fetch |NN REGEXP * const rx|NN SV * const namesv|const U32 flags
1294Ap |bool|reg_named_buff_exists |NN REGEXP * const rx|NN SV * const key|const U32 flags
1295Ap |SV*|reg_named_buff_firstkey |NN REGEXP * const rx|const U32 flags
1296Ap |SV*|reg_named_buff_nextkey |NN REGEXP * const rx|const U32 flags
1297Ap |SV*|reg_named_buff_scalar |NN REGEXP * const rx|const U32 flags
1298Ap |SV*|reg_named_buff_all |NN REGEXP * const rx|const U32 flags
2fdbfb4d 1299
d67fec57 1300: FIXME - is anything in re using this now?
2fdbfb4d 1301EXp |void|reg_numbered_buff_fetch|NN REGEXP * const rx|const I32 paren|NULLOK SV * const sv
d67fec57 1302: FIXME - is anything in re using this now?
2fdbfb4d 1303EXp |void|reg_numbered_buff_store|NN REGEXP * const rx|const I32 paren|NULLOK SV const * const value
d67fec57 1304: FIXME - is anything in re using this now?
2fdbfb4d
AB
1305EXp |I32|reg_numbered_buff_length|NN REGEXP * const rx|NN const SV * const sv|const I32 paren
1306
d67fec57 1307: FIXME - is anything in re using this now?
49d7dfbc 1308EXp |SV*|reg_qr_package|NN REGEXP * const rx
93b32b6d 1309
26e1303d 1310Anp |void |repeatcpy |NN char* to|NN const char* from|I32 len|IV count
52de5f36 1311AdnpP |char* |rninstr |NN const char* big|NN const char* bigend \
a3b680e6 1312 |NN const char* little|NN const char* lend
94bdecf9 1313Ap |Sighandler_t|rsignal |int i|Sighandler_t t
67022846 1314: Used in pp_sys.c
7827dc65 1315p |int |rsignal_restore|int i|NULLOK Sigsave_t* t
67022846 1316: Used in pp_sys.c
9f6cc744 1317p |int |rsignal_save |int i|Sighandler_t t1|NN Sigsave_t* save
94bdecf9 1318Ap |Sighandler_t|rsignal_state|int i
43869a0c 1319#if defined(PERL_IN_PP_CTL_C)
9c105995
NC
1320s |void |rxres_free |NN void** rsp
1321s |void |rxres_restore |NN void **rsp|NN REGEXP *rx
1322#endif
1323: Used in pp_hot.c
4048f010 1324p |void |rxres_save |NN void **rsp|NN REGEXP *rx
94bdecf9 1325#if !defined(HAS_RENAME)
67022846 1326: Used in pp_sys.c
4373e329 1327p |I32 |same_dirent |NN const char* a|NN const char* b
94bdecf9 1328#endif
639f6c3d
NC
1329Apda |char* |savepv |NULLOK const char* pv
1330Apda |char* |savepvn |NULLOK const char* pv|I32 len
7827dc65 1331Apda |char* |savesharedpv |NULLOK const char* pv
6379d4a9
FC
1332
1333: NULLOK only to suppress a compiler warning
1334Apda |char* |savesharedpvn |NULLOK const char *const pv \
1335 |const STRLEN len
9dcc53ea 1336Apda |char* |savesharedsvpv |NN SV *sv
53c1dcc0 1337Apda |char* |savesvpv |NN SV* sv
94bdecf9 1338Ap |void |savestack_grow
4b3c1a47 1339Ap |void |savestack_grow_cnt |I32 need
c70927a6
FC
1340Amp |void |save_aelem |NN AV* av|SSize_t idx|NN SV **sptr
1341Ap |void |save_aelem_flags|NN AV* av|SSize_t idx|NN SV **sptr \
1342 |const U32 flags
94bdecf9 1343Ap |I32 |save_alloc |I32 size|I32 pad
9a957fbc
AL
1344Ap |void |save_aptr |NN AV** aptr
1345Ap |AV* |save_ary |NN GV* gv
1346Ap |void |save_bool |NN bool* boolp
1347Ap |void |save_clearsv |NN SV** svp
4048f010 1348Ap |void |save_delete |NN HV *hv|NN char *key|I32 klen
af097752 1349Ap |void |save_hdelete |NN HV *hv|NN SV *keysv
c70927a6 1350Ap |void |save_adelete |NN AV *av|SSize_t key
7827dc65 1351Ap |void |save_destructor|DESTRUCTORFUNC_NOCONTEXT_t f|NN void* p
55968144 1352Ap |void |save_destructor_x|DESTRUCTORFUNC_t f|NULLOK void* p
2fd8beea 1353Apmb |void |save_freesv |NULLOK SV* sv
67022846 1354: Used in SAVEFREOP(), used in op.c, pp_ctl.c
ad975267 1355Apmb |void |save_freeop |NULLOK OP* o
2fd8beea 1356Apmb |void |save_freepv |NULLOK char* pv
9a957fbc
AL
1357Ap |void |save_generic_svref|NN SV** sptr
1358Ap |void |save_generic_pvref|NN char** str
1359Ap |void |save_shared_pvref|NN char** str
364bbfa4 1360Adp |void |save_gp |NN GV* gv|I32 empty
aec46f14 1361Ap |HV* |save_hash |NN GV* gv
defdfed5 1362Ap |void |save_hints
af7df257
CS
1363Amp |void |save_helem |NN HV *hv|NN SV *key|NN SV **sptr
1364Ap |void |save_helem_flags|NN HV *hv|NN SV *key|NN SV **sptr|const U32 flags
aec46f14
AL
1365Ap |void |save_hptr |NN HV** hptr
1366Ap |void |save_I16 |NN I16* intp
1367Ap |void |save_I32 |NN I32* intp
1368Ap |void |save_I8 |NN I8* bytep
1369Ap |void |save_int |NN int* intp
1370Ap |void |save_item |NN SV* item
4048f010 1371Ap |void |save_iv |NN IV *ivp
aec46f14
AL
1372Ap |void |save_list |NN SV** sarg|I32 maxsarg
1373Ap |void |save_long |NN long* longp
2fd8beea 1374Apmb |void |save_mortalizesv|NN SV* sv
3d4dd4c7 1375Ap |void |save_nogv |NN GV* gv
67022846 1376: Used in SAVEFREOP(), used in gv.c, op.c, perl.c, pp_ctl.c, pp_sort.c
ad975267 1377Apmb |void |save_op
aec46f14
AL
1378Ap |SV* |save_scalar |NN GV* gv
1379Ap |void |save_pptr |NN char** pptr
4048f010 1380Ap |void |save_vptr |NN void *ptr
94bdecf9 1381Ap |void |save_re_context
09edbca0 1382Ap |void |save_padsv_and_mortalize|PADOFFSET off
aec46f14 1383Ap |void |save_sptr |NN SV** sptr
e8eb279c 1384Xp |void |save_strlen |NN STRLEN* ptr
aec46f14 1385Ap |SV* |save_svref |NN SV** sptr
2ef9a108 1386AMpo |void |savetmps
2fd8beea 1387Ap |void |save_pushptr |NULLOK void *const ptr|const int type
ad975267 1388Ap |void |save_pushi32ptr|const I32 i|NULLOK void *const ptr|const int type
dfcd3de5 1389: Used by SAVESWITCHSTACK() in pp.c
ad975267 1390Ap |void |save_pushptrptr|NULLOK void *const ptr1 \
dfcd3de5 1391 |NULLOK void *const ptr2|const int type
43869a0c 1392#if defined(PERL_IN_SCOPE_C)
be84297e
NC
1393s |void |save_pushptri32ptr|NULLOK void *const ptr1|const I32 i \
1394 |NULLOK void *const ptr2|const int type
1395#endif
67022846 1396: Used in perly.y
aec46f14 1397p |OP* |sawparens |NULLOK OP* o
d9088386 1398Apd |OP* |op_contextualize|NN OP* o|I32 context
67022846 1399: Used in perly.y
aec46f14 1400p |OP* |scalar |NULLOK OP* o
43869a0c 1401#if defined(PERL_IN_OP_C)
2dd5337b
NC
1402s |OP* |scalarkids |NULLOK OP* o
1403s |OP* |scalarseq |NULLOK OP* o
1404#endif
67022846 1405: Used in pp_ctl.c
aec46f14
AL
1406p |OP* |scalarvoid |NN OP* o
1407Apd |NV |scan_bin |NN const char* start|STRLEN len|NN STRLEN* retlen
1408Apd |NV |scan_hex |NN const char* start|STRLEN len|NN STRLEN* retlen
1409Ap |char* |scan_num |NN const char* s|NN YYSTYPE *lvalp
1410Apd |NV |scan_oct |NN const char* start|STRLEN len|NN STRLEN* retlen
3ad73efd 1411AMpd |OP* |op_scope |NULLOK OP* o
e2051532
PM
1412: Only used by perl.c/miniperl.c, but defined in caretx.c
1413px |void |set_caret_X
9a9bb270 1414Apd |void |setdefout |NN GV* gv
aec46f14 1415Ap |HEK* |share_hek |NN const char* str|I32 len|U32 hash
8aad04aa 1416#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
d67fec57 1417: Used in perl.c
b6455c53
SR
1418np |Signal_t |sighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
1419Anp |Signal_t |csighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
8aad04aa 1420#else
94bdecf9 1421np |Signal_t |sighandler |int sig
669f9482 1422Anp |Signal_t |csighandler |int sig
8aad04aa 1423#endif
fc16c392 1424Ap |SV** |stack_grow |NN SV** sp|NN SV** p|SSize_t n
0b1558d1 1425Ap |I32 |start_subparse |I32 is_format|U32 flags
67022846 1426: Used in pp_ctl.c
aec46f14 1427p |void |sub_crush_depth|NN CV* cv
06c841cf 1428Amd |bool |sv_2bool |NN SV *const sv
9d176cd8 1429Apd |bool |sv_2bool_flags |NN SV *sv|I32 flags
23f13727
SS
1430Apd |CV* |sv_2cv |NULLOK SV* sv|NN HV **const st|NN GV **const gvp \
1431 |const I32 lref
1432Apd |IO* |sv_2io |NN SV *const sv
43869a0c 1433#if defined(PERL_IN_SV_C)
19f6321d 1434s |bool |glob_2number |NN GV* const gv
180488f8 1435#endif
5ff52e3c 1436Apmb |IV |sv_2iv |NN SV *sv
1061065f 1437Apd |IV |sv_2iv_flags |NN SV *const sv|const I32 flags
23f13727 1438Apd |SV* |sv_2mortal |NULLOK SV *const sv
1061065f 1439Apd |NV |sv_2nv_flags |NN SV *const sv|const I32 flags
67022846 1440: Used in pp.c, pp_hot.c, sv.c
5de3775c 1441pMd |SV* |sv_2num |NN SV *const sv
5ff52e3c 1442Apmb |char* |sv_2pv |NN SV *sv|NULLOK STRLEN *lp
1061065f 1443Apd |char* |sv_2pv_flags |NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
fe46cbda 1444Apd |char* |sv_2pvutf8 |NN SV *sv|NULLOK STRLEN *const lp
a901b181 1445Apd |char* |sv_2pvbyte |NN SV *sv|NULLOK STRLEN *const lp
aec46f14 1446Ap |char* |sv_pvn_nomg |NN SV* sv|NULLOK STRLEN* lp
5ff52e3c 1447Apmb |UV |sv_2uv |NN SV *sv
1061065f 1448Apd |UV |sv_2uv_flags |NN SV *const sv|const I32 flags
4373e329
AL
1449Apd |IV |sv_iv |NN SV* sv
1450Apd |UV |sv_uv |NN SV* sv
1451Apd |NV |sv_nv |NN SV* sv
4048f010
NC
1452Apd |char* |sv_pvn |NN SV *sv|NN STRLEN *lp
1453Apd |char* |sv_pvutf8n |NN SV *sv|NN STRLEN *lp
1454Apd |char* |sv_pvbyten |NN SV *sv|NN STRLEN *lp
23f13727 1455Apd |I32 |sv_true |NULLOK SV *const sv
43869a0c 1456#if defined(PERL_IN_SV_C)
d2bd4e7f
NC
1457sd |void |sv_add_arena |NN char *const ptr|const U32 size \
1458 |const U32 flags
1459#endif
fa7a1e49 1460Apdn |void |sv_backoff |NN SV *const sv
12964ddd 1461Apd |SV* |sv_bless |NN SV *const sv|NN HV *const stash
b001a0d1
FC
1462#if defined(PERL_DEBUG_READONLY_COW)
1463p |void |sv_buf_to_ro |NN SV *sv
1620d805
FC
1464# if defined(PERL_IN_SV_C)
1465s |void |sv_buf_to_rw |NN SV *sv
1466# endif
b001a0d1 1467#endif
66ceb532
SS
1468Afpd |void |sv_catpvf |NN SV *const sv|NN const char *const pat|...
1469Apd |void |sv_vcatpvf |NN SV *const sv|NN const char *const pat \
1470 |NULLOK va_list *const args
2b021c53 1471Apd |void |sv_catpv |NN SV *const sv|NULLOK const char* ptr
5ff52e3c
KW
1472Apmdb |void |sv_catpvn |NN SV *dsv|NN const char *sstr|STRLEN len
1473Apmdb |void |sv_catsv |NN SV *dstr|NULLOK SV *sstr
2e000ff2 1474Apd |void |sv_chop |NN SV *const sv|NULLOK const char *const ptr
67022846 1475: Used only in perl.c
94bdecf9 1476pd |I32 |sv_clean_all
67022846 1477: Used only in perl.c
94bdecf9 1478pd |void |sv_clean_objs
5239d5c4 1479Apd |void |sv_clear |NN SV *const orig_sv
4155e4fe
FC
1480#if defined(PERL_IN_SV_C)
1481s |bool |curse |NN SV * const sv|const bool check_refcnt
1482#endif
e8c9c9d4 1483Aopd |I32 |sv_cmp |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1484Apd |I32 |sv_cmp_flags |NULLOK SV *const sv1|NULLOK SV *const sv2 \
1485 |const U32 flags
e8c9c9d4 1486Aopd |I32 |sv_cmp_locale |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1487Apd |I32 |sv_cmp_locale_flags |NULLOK SV *const sv1 \
1488 |NULLOK SV *const sv2|const U32 flags
94bdecf9 1489#if defined(USE_LOCALE_COLLATE)
078504b2
FC
1490Amd |char* |sv_collxfrm |NN SV *const sv|NN STRLEN *const nxp
1491Apd |char* |sv_collxfrm_flags |NN SV *const sv|NN STRLEN *const nxp|I32 const flags
94bdecf9 1492#endif
4373e329 1493Apd |int |getcwd_sv |NN SV* sv
ac1e9476 1494Apd |void |sv_dec |NULLOK SV *const sv
6f1401dc 1495Apd |void |sv_dec_nomg |NULLOK SV *const sv
f54cb97a 1496Ap |void |sv_dump |NN SV* sv
15f169a1 1497ApdR |bool |sv_derived_from|NN SV* sv|NN const char *const name
c7abbf64
BF
1498ApdR |bool |sv_derived_from_sv|NN SV* sv|NN SV *namesv|U32 flags
1499ApdR |bool |sv_derived_from_pv|NN SV* sv|NN const char *const name|U32 flags
1500ApdR |bool |sv_derived_from_pvn|NN SV* sv|NN const char *const name \
c60dbbc3 1501 |const STRLEN len|U32 flags
15f169a1 1502ApdR |bool |sv_does |NN SV* sv|NN const char *const name
f778bcfd
BF
1503ApdR |bool |sv_does_sv |NN SV* sv|NN SV* namesv|U32 flags
1504ApdR |bool |sv_does_pv |NN SV* sv|NN const char *const name|U32 flags
1505ApdR |bool |sv_does_pvn |NN SV* sv|NN const char *const name|const STRLEN len \
1506 |U32 flags
078504b2 1507Amd |I32 |sv_eq |NULLOK SV* sv1|NULLOK SV* sv2
31c72c81 1508Apd |I32 |sv_eq_flags |NULLOK SV* sv1|NULLOK SV* sv2|const U32 flags
af828c01 1509Apd |void |sv_free |NULLOK SV *const sv
75a9bf96 1510poMX |void |sv_free2 |NN SV *const sv|const U32 refcnt
67022846 1511: Used only in perl.c
94bdecf9 1512pd |void |sv_free_arenas
ac1e9476 1513Apd |char* |sv_gets |NN SV *const sv|NN PerlIO *const fp|I32 append
aad570aa 1514Apd |char* |sv_grow |NN SV *const sv|STRLEN newlen
ac1e9476 1515Apd |void |sv_inc |NULLOK SV *const sv
6f1401dc 1516Apd |void |sv_inc_nomg |NULLOK SV *const sv
5ff52e3c 1517Apmdb |void |sv_insert |NN SV *const bigstr|const STRLEN offset \
84335ee9
NC
1518 |const STRLEN len|NN const char *const little \
1519 |const STRLEN littlelen
c0dd94a0
VP
1520Apd |void |sv_insert_flags|NN SV *const bigstr|const STRLEN offset|const STRLEN len \
1521 |NN const char *const little|const STRLEN littlelen|const U32 flags
12964ddd 1522Apd |int |sv_isa |NULLOK SV* sv|NN const char *const name
aec46f14 1523Apd |int |sv_isobject |NULLOK SV* sv
af828c01
SS
1524Apd |STRLEN |sv_len |NULLOK SV *const sv
1525Apd |STRLEN |sv_len_utf8 |NULLOK SV *const sv
864329c3 1526p |STRLEN |sv_len_utf8_nomg|NN SV *const sv
2b021c53 1527Apd |void |sv_magic |NN SV *const sv|NULLOK SV *const obj|const int how \
ac1e9476 1528 |NULLOK const char *const name|const I32 namlen
2b021c53
SS
1529Apd |MAGIC *|sv_magicext |NN SV *const sv|NULLOK SV *const obj|const int how \
1530 |NULLOK const MGVTBL *const vtbl|NULLOK const char *const name \
1531 |const I32 namlen
a4570f51 1532#ifndef PERL_NO_INLINE_FUNCTIONS
ed382232 1533Ein |bool |sv_only_taint_gmagic|NN SV *sv
a4570f51 1534#endif
96c2a8ff 1535: exported for re.pm
d4431b89 1536EXp |MAGIC *|sv_magicext_mglob|NN SV *sv
346c6a29
DM
1537ApdbmR |SV* |sv_mortalcopy |NULLOK SV *const oldsv
1538XpR |SV* |sv_mortalcopy_flags|NULLOK SV *const oldsv|U32 flags
f54cb97a 1539ApdR |SV* |sv_newmortal
af828c01 1540Apd |SV* |sv_newref |NULLOK SV *const sv
aec46f14 1541Ap |char* |sv_peek |NULLOK SV* sv
af828c01 1542Apd |void |sv_pos_u2b |NULLOK SV *const sv|NN I32 *const offsetp|NULLOK I32 *const lenp
d931b1be
NC
1543Apd |STRLEN |sv_pos_u2b_flags|NN SV *const sv|STRLEN uoffset \
1544 |NULLOK STRLEN *const lenp|U32 flags
ac1e9476 1545Apd |void |sv_pos_b2u |NULLOK SV *const sv|NN I32 *const offsetp
ef54055c
FC
1546Apd |STRLEN |sv_pos_b2u_flags|NN SV *const sv|STRLEN const offset \
1547 |U32 flags
5ff52e3c 1548Apmdb |char* |sv_pvn_force |NN SV* sv|NULLOK STRLEN* lp
12964ddd
SS
1549Apd |char* |sv_pvutf8n_force|NN SV *const sv|NULLOK STRLEN *const lp
1550Apd |char* |sv_pvbyten_force|NN SV *const sv|NULLOK STRLEN *const lp
aec46f14
AL
1551Apd |char* |sv_recode_to_utf8 |NN SV* sv|NN SV *encoding
1552Apd |bool |sv_cat_decode |NN SV* dsv|NN SV *encoding|NN SV *ssv|NN int *offset \
1553 |NN char* tstr|int tlen
12964ddd 1554ApdR |const char* |sv_reftype |NN const SV *const sv|const int ob
b1744e13 1555Apd |SV* |sv_ref |NULLOK SV *dst|NN const SV *const sv|const int ob
af828c01 1556Apd |void |sv_replace |NN SV *const sv|NN SV *const nsv
94bdecf9 1557Apd |void |sv_report_used
23f13727 1558Apd |void |sv_reset |NN const char* s|NULLOK HV *const stash
ca826051
FC
1559p |void |sv_resetpvn |NULLOK const char* s|STRLEN len \
1560 |NULLOK HV *const stash
89e38212
SS
1561Afpd |void |sv_setpvf |NN SV *const sv|NN const char *const pat|...
1562Apd |void |sv_vsetpvf |NN SV *const sv|NN const char *const pat|NULLOK va_list *const args
aad570aa 1563Apd |void |sv_setiv |NN SV *const sv|const IV num
3d9637d6 1564Apdb |void |sv_setpviv |NN SV *const sv|const IV num
aad570aa
SS
1565Apd |void |sv_setuv |NN SV *const sv|const UV num
1566Apd |void |sv_setnv |NN SV *const sv|const NV num
12964ddd
SS
1567Apd |SV* |sv_setref_iv |NN SV *const rv|NULLOK const char *const classname|const IV iv
1568Apd |SV* |sv_setref_uv |NN SV *const rv|NULLOK const char *const classname|const UV uv
1569Apd |SV* |sv_setref_nv |NN SV *const rv|NULLOK const char *const classname|const NV nv
1570Apd |SV* |sv_setref_pv |NN SV *const rv|NULLOK const char *const classname \
1571 |NULLOK void *const pv
1572Apd |SV* |sv_setref_pvn |NN SV *const rv|NULLOK const char *const classname \
1573 |NN const char *const pv|const STRLEN n
2e000ff2
SS
1574Apd |void |sv_setpv |NN SV *const sv|NULLOK const char *const ptr
1575Apd |void |sv_setpvn |NN SV *const sv|NULLOK const char *const ptr|const STRLEN len
45661033 1576Apd |char *|sv_setpv_bufsize|NN SV *const sv|const STRLEN cur|const STRLEN len
70b71ec8 1577Xp |void |sv_sethek |NN SV *const sv|NULLOK const HEK *const hek
5ff52e3c
KW
1578Apmdb |void |sv_setsv |NN SV *dstr|NULLOK SV *sstr
1579Apmdb |void |sv_taint |NN SV* sv
89e38212 1580ApdR |bool |sv_tainted |NN SV *const sv
2b021c53 1581Apd |int |sv_unmagic |NN SV *const sv|const int type
b83794c7 1582Apd |int |sv_unmagicext |NN SV *const sv|const int type|NULLOK MGVTBL *vtbl
174c73e3 1583Apdmb |void |sv_unref |NN SV* sv
89e38212
SS
1584Apd |void |sv_unref_flags |NN SV *const ref|const U32 flags
1585Apd |void |sv_untaint |NN SV *const sv
aad570aa 1586Apd |void |sv_upgrade |NN SV *const sv|svtype new_type
47518d95 1587Apdmb |void |sv_usepvn |NN SV* sv|NULLOK char* ptr|STRLEN len
2e000ff2
SS
1588Apd |void |sv_usepvn_flags|NN SV *const sv|NULLOK char* ptr|const STRLEN len\
1589 |const U32 flags
66ceb532
SS
1590Apd |void |sv_vcatpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1591 |NULLOK va_list *const args|NULLOK SV **const svargs|const I32 svmax \
1592 |NULLOK bool *const maybe_tainted
4bac9ae4
CS
1593Apd |void |sv_vcatpvfn_flags|NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1594 |NULLOK va_list *const args|NULLOK SV **const svargs|const I32 svmax \
1595 |NULLOK bool *const maybe_tainted|const U32 flags
66ceb532
SS
1596Apd |void |sv_vsetpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1597 |NULLOK va_list *const args|NULLOK SV **const svargs \
1598 |const I32 svmax|NULLOK bool *const maybe_tainted
aec46f14 1599ApR |NV |str_to_version |NN SV *sv
768f8d98
KW
1600ApRM |SV* |swash_init |NN const char* pkg|NN const char* name|NN SV* listsv|I32 minbits|I32 none
1601ApM |UV |swash_fetch |NN SV *swash|NN const U8 *ptr|bool do_utf8
d764b54e 1602#ifdef PERL_IN_REGCOMP_C
a25abddc 1603EiMR |SV* |add_cp_to_invlist |NULLOK SV* invlist|const UV cp
bb023b4f 1604EiM |void |invlist_set_len|NN SV* const invlist|const UV len|const bool offset
b9c1a2c5 1605EiMRn |bool |invlist_is_iterating|NN SV* const invlist
b2458342 1606#ifndef PERL_EXT_RE_BUILD
f31df0ce
KW
1607EiMRn |UV* |_invlist_array_init |NN SV* const invlist|const bool will_have_0
1608EiMRn |UV |invlist_max |NN SV* const invlist
bec88f1b
KW
1609EsM |void |_append_range_to_invlist |NN SV* const invlist|const UV start|const UV end
1610EsM |void |invlist_extend |NN SV* const invlist|const UV len
96a7241d 1611EsM |void |invlist_replace_list_destroys_src|NN SV *dest|NN SV *src
dc3bf405 1612EiMRn |IV* |get_invlist_previous_index_addr|NN SV* invlist
dc3bf405 1613EiMn |void |invlist_set_previous_index|NN SV* const invlist|const IV index
b2458342 1614EiMRn |IV |invlist_previous_index|NN SV* const invlist
f0c0c5ad 1615EiMn |void |invlist_trim |NN SV* invlist
e7d603c0 1616EiM |void |invlist_clear |NN SV* invlist
22026221 1617#endif
25e94a65 1618EiMR |SV* |invlist_clone |NN SV* const invlist
dc3bf405
BF
1619EiMRn |STRLEN*|get_invlist_iter_addr |NN SV* invlist
1620EiMn |void |invlist_iterinit|NN SV* invlist
1621EsMRn |bool |invlist_iternext|NN SV* invlist|NN UV* start|NN UV* end
1622EiMn |void |invlist_iterfinish|NN SV* invlist
1623EiMRn |UV |invlist_highest|NN SV* const invlist
8c75ba15
HS
1624EMRs |SV* |_make_exactf_invlist |NN RExC_state_t *pRExC_state \
1625 |NN regnode *node
bb17e326
KW
1626EsMR |SV* |invlist_contents|NN SV* const invlist \
1627 |const bool traditional_style
839cfe5d
KW
1628#endif
1629#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C)
52ae8f7e 1630EXmM |void |_invlist_intersection |NN SV* const a|NN SV* const b|NN SV** i
a0316a6c
KW
1631EXpM |void |_invlist_intersection_maybe_complement_2nd \
1632 |NULLOK SV* const a|NN SV* const b \
1633 |const bool complement_b|NN SV** i
164173a2 1634EXmM |void |_invlist_union |NULLOK SV* const a|NN SV* const b|NN SV** output
a0316a6c
KW
1635EXpM |void |_invlist_union_maybe_complement_2nd \
1636 |NULLOK SV* const a|NN SV* const b \
1637 |const bool complement_b|NN SV** output
3f80b571 1638EXmM |void |_invlist_subtract|NN SV* const a|NN SV* const b|NN SV** result
50b01e0c 1639EXpM |void |_invlist_invert|NN SV* const invlist
47b34d72
KW
1640EXMpR |SV* |_new_invlist |IV initial_size
1641EXMpR |SV* |_swash_to_invlist |NN SV* const swash
d1e2fe7b 1642EXMpR |SV* |_add_range_to_invlist |NULLOK SV* invlist|UV start|UV end
31aa6e0b 1643EXMpR |SV* |_setup_canned_invlist|const STRLEN size|const UV element0|NN UV** other_elements_ptr
dc3bf405 1644EXMpn |void |_invlist_populate_swatch |NN SV* const invlist|const UV start|const UV end|NN U8* swatch
d764b54e 1645#endif
7baadcd0 1646#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C) || defined(PERL_IN_TOKE_C)
83199d38 1647EXp |SV* |_core_swash_init|NN const char* pkg|NN const char* name \
5d3d13d1 1648 |NN SV* listsv|I32 minbits|I32 none \
83199d38 1649 |NULLOK SV* invlist|NULLOK U8* const flags_p
7baadcd0
KW
1650#endif
1651#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
551cedb5 1652EiMRn |UV* |invlist_array |NN SV* const invlist
dc3bf405
BF
1653EiMRn |bool* |get_invlist_offset_addr|NN SV* invlist
1654EiMRn |UV |_invlist_len |NN SV* const invlist
1655EMiRn |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp
f0858b7d 1656EXpMRn |SSize_t|_invlist_search |NN SV* const invlist|const UV cp
3fdfee00 1657EXMpR |SV* |_get_swash_invlist|NN SV* const swash
fb241e71 1658EXMpR |HV* |_swash_inversion_hash |NN SV* const swash
ad3f05ad 1659#endif
77d654fb
KW
1660#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
1661ApM |SV* |_get_regclass_nonbitmap_data \
1662 |NULLOK const regexp *prog \
ef9bc832
KW
1663 |NN const struct regnode *node \
1664 |bool doinit \
77d654fb 1665 |NULLOK SV **listsvp \
ef9bc832 1666 |NULLOK SV **lonly_utf8_locale \
b77aba85 1667 |NULLOK SV **output_invlist
31667e6b 1668EXp |void|_load_PL_utf8_foldclosures|
77d654fb 1669#endif
ad3f05ad
KW
1670#if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C)
1671EXMp |void |_invlist_dump |NN PerlIO *file|I32 level \
1672 |NN const char* const indent \
1673 |NN SV* const invlist
c4a5db0c 1674#endif
94bdecf9 1675Ap |void |taint_env
6fd06953 1676Ap |void |taint_proper |NULLOK const char* f|NN const char *const s
ca81472c 1677ApdD |UV |to_utf8_case |NN const U8 *p \
13cf59ef
KW
1678 |NN U8* ustrp \
1679 |NULLOK STRLEN *lenp \
1680 |NN SV **swashp \
1681 |NN const char *normal| \
1682 NULLOK const char *special
b9992569 1683#if defined(PERL_IN_UTF8_C)
12a4bed3
KW
1684inRP |bool |does_utf8_overflow|NN const U8 * const s|NN const U8 * e
1685inRP |bool |is_utf8_overlong_given_start_byte_ok|NN const U8 * const s|const STRLEN len
b0b342d4 1686inRP |bool |isFF_OVERLONG |NN const U8 * const s|const STRLEN len
806547a7 1687sMR |char * |unexpected_non_continuation_text \
7cf8d05d 1688 |NN const U8 * const s \
3cc6a05e 1689 |STRLEN print_len \
7cf8d05d
KW
1690 |const STRLEN non_cont_byte_pos \
1691 |const STRLEN expect_len
1692sM |char * |_byte_dump_string|NN const U8 * s|const STRLEN len
b9992569
KW
1693s |UV |_to_utf8_case |const UV uv1 \
1694 |NN const U8 *p \
1695 |NN U8* ustrp \
1696 |NULLOK STRLEN *lenp \
1697 |NN SV **swashp \
1698 |NN const char *normal \
1699 |NULLOK const char *special
1700#endif
5ff52e3c 1701Apbmd |UV |to_utf8_lower |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
445bf929 1702AMp |UV |_to_utf8_lower_flags |NN const U8 *p|NN U8* ustrp \
31f05a37 1703 |NULLOK STRLEN *lenp|bool flags
5ff52e3c 1704Apbmd |UV |to_utf8_upper |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
445bf929 1705AMp |UV |_to_utf8_upper_flags |NN const U8 *p|NN U8* ustrp \
31f05a37 1706 |NULLOK STRLEN *lenp|bool flags
5ff52e3c 1707Apbmd |UV |to_utf8_title |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
445bf929 1708AMp |UV |_to_utf8_title_flags |NN const U8 *p|NN U8* ustrp \
31f05a37 1709 |NULLOK STRLEN *lenp|bool flags
5ff52e3c 1710Apbmd |UV |to_utf8_fold |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
445bf929
KW
1711AMp |UV |_to_utf8_fold_flags|NN const U8 *p|NN U8* ustrp \
1712 |NULLOK STRLEN *lenp|U8 flags
83f78d1a 1713#if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
ddeaf645 1714pn |bool |translate_substr_offsets|STRLEN curlen|IV pos1_iv \
83f78d1a
FC
1715 |bool pos1_is_uv|IV len_iv \
1716 |bool len_is_uv|NN STRLEN *posp \
1717 |NN STRLEN *lenp
1718#endif
94bdecf9 1719#if defined(UNLINK_ALL_VERSIONS)
6e732051 1720Ap |I32 |unlnk |NN const char* f
94bdecf9 1721#endif
aec46f14
AL
1722Apd |I32 |unpack_str |NN const char *pat|NN const char *patend|NN const char *s \
1723 |NULLOK const char *strbeg|NN const char *strend|NULLOK char **new_s \
1724 |I32 ocnt|U32 flags
1725Apd |I32 |unpackstring |NN const char *pat|NN const char *patend|NN const char *s \
1726 |NN const char *strend|U32 flags
1727Ap |void |unsharepvn |NULLOK const char* sv|I32 len|U32 hash
67022846 1728: Used in gv.c, hv.c
78197f2f 1729p |void |unshare_hek |NULLOK HEK* hek
67022846 1730: Used in perly.y
aec46f14
AL
1731p |void |utilize |int aver|I32 floor|NULLOK OP* version|NN OP* idop|NULLOK OP* arg
1732Ap |U8* |utf16_to_utf8 |NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
1733Ap |U8* |utf16_to_utf8_reversed|NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
a3b680e6 1734AdpPR |STRLEN |utf8_length |NN const U8* s|NN const U8 *e
7c93d8f0
KW
1735AipdPR |IV |utf8_distance |NN const U8 *a|NN const U8 *b
1736AipdPRn |U8* |utf8_hop |NN const U8 *s|SSize_t off
65df57a8
TC
1737AipdPRn |U8* |utf8_hop_back|NN const U8 *s|SSize_t off|NN const U8 *start
1738AipdPRn |U8* |utf8_hop_forward|NN const U8 *s|SSize_t off|NN const U8 *end
1739AipdPRn |U8* |utf8_hop_safe |NN const U8 *s|SSize_t off|NN const U8 *start|NN const U8 *end
4373e329 1740ApMd |U8* |utf8_to_bytes |NN U8 *s|NN STRLEN *len
fed3ba5d
NC
1741Apd |int |bytes_cmp_utf8 |NN const U8 *b|STRLEN blen|NN const U8 *u \
1742 |STRLEN ulen
aec46f14
AL
1743ApMd |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *len|NULLOK bool *is_utf8
1744ApMd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *len
977c1d31
KW
1745ApdD |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
1746ApdD |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
5495102a 1747ApMD |UV |valid_utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
de69f3af 1748Amd |UV |utf8_to_uvchr_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
4f83cdcd 1749ApdD |UV |utf8_to_uvuni_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
211dff67 1750pM |bool |check_utf8_print |NN const U8 *s|const STRLEN len
1754c1a1 1751
f9380377
KW
1752Adop |UV |utf8n_to_uvchr |NN const U8 *s \
1753 |STRLEN curlen \
1754 |NULLOK STRLEN *retlen \
1755 |const U32 flags
1756Adp |UV |utf8n_to_uvchr_error|NN const U8 *s \
1757 |STRLEN curlen \
1758 |NULLOK STRLEN *retlen \
1759 |const U32 flags \
1760 |NULLOK U32 * errors
2fe720e2 1761AipnR |UV |valid_utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
378516de 1762Ap |UV |utf8n_to_uvuni|NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1754c1a1 1763
de69f3af 1764Adm |U8* |uvchr_to_utf8 |NN U8 *d|UV uv
a27992cc 1765Ap |U8* |uvuni_to_utf8 |NN U8 *d|UV uv
de69f3af 1766Adm |U8* |uvchr_to_utf8_flags |NN U8 *d|UV uv|UV flags
378516de
KW
1767Apd |U8* |uvoffuni_to_utf8_flags |NN U8 *d|UV uv|UV flags
1768Ap |U8* |uvuni_to_utf8_flags |NN U8 *d|UV uv|UV flags
7827dc65
AL
1769Apd |char* |pv_uni_display |NN SV *dsv|NN const U8 *spv|STRLEN len|STRLEN pvlim|UV flags
1770ApdR |char* |sv_uni_display |NN SV *dsv|NN SV *ssv|STRLEN pvlim|UV flags
d67fec57 1771: Used by Data::Alias
6d9a2efc 1772EXp |void |vivify_defelem |NN SV* sv
67022846 1773: Used in pp.c
9026059d 1774pR |SV* |vivify_ref |NN SV* sv|U32 to_what
67022846 1775: Used in pp_sys.c
aec46f14 1776p |I32 |wait4pid |Pid_t pid|NN int* statusp|int flags
67022846 1777: Used in locale.c and perl.c
7827dc65 1778p |U32 |parse_unicode_opts|NN const char **popt
0a87c459 1779Ap |U32 |seed
3be8f094
TC
1780Xpno |double |drand48_r |NN perl_drand48_t *random_state
1781Xpno |void |drand48_init_r |NN perl_drand48_t *random_state|U32 seed
67022846 1782: Only used in perl.c
e950ecba 1783p |void |get_hash_seed |NN unsigned char * const seed_buffer
67022846 1784: Used in doio.c, pp_hot.c, pp_sys.c
831e4cc3 1785p |void |report_evil_fh |NULLOK const GV *gv
a5390457
NC
1786: Used in doio.c, pp_hot.c, pp_sys.c
1787p |void |report_wrongway_fh|NULLOK const GV *gv|const char have
67022846 1788: Used in mg.c, pp.c, pp_hot.c, regcomp.c
b3dbd76e 1789XEpd |void |report_uninit |NULLOK const SV *uninit_sv
156d738f
FC
1790#if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
1791p |void |report_redefined_cv|NN const SV *name \
1792 |NN const CV *old_cv \
1793 |NULLOK SV * const *new_const_svp
1794#endif
c5df3096 1795Apd |void |warn_sv |NN SV *baseex
aec46f14 1796Afpd |void |warn |NN const char* pat|...
c5df3096 1797Apd |void |vwarn |NN const char* pat|NULLOK va_list* args
aec46f14 1798Afp |void |warner |U32 err|NN const char* pat|...
a2a5de95 1799Afp |void |ck_warner |U32 err|NN const char* pat|...
9b387841 1800Afp |void |ck_warner_d |U32 err|NN const char* pat|...
aec46f14 1801Ap |void |vwarner |U32 err|NN const char* pat|NULLOK va_list* args
470dd224
JH
1802#ifdef USE_C_BACKTRACE
1803pd |Perl_c_backtrace*|get_c_backtrace|int max_depth|int skip
1804dm |void |free_c_backtrace|NN Perl_c_backtrace* bt
1805Apd |SV* |get_c_backtrace_dump|int max_depth|int skip
1806Apd |bool |dump_c_backtrace|NN PerlIO* fp|int max_depth|int skip
1807#endif
67022846 1808: FIXME
aec46f14 1809p |void |watch |NN char** addr
a377a099 1810Am |I32 |whichsig |NN const char* sig
e950ecba
KW
1811Ap |I32 |whichsig_sv |NN SV* sigsv
1812Ap |I32 |whichsig_pv |NN const char* sig
1813Ap |I32 |whichsig_pvn |NN const char* sig|STRLEN len
a4570f51 1814#ifndef PERL_NO_INLINE_FUNCTIONS
c8028aa6 1815: used to check for NULs in pathnames and other names
41188aa0 1816AiR |bool |is_safe_syscall|NN const char *pv|STRLEN len|NN const char *what|NN const char *op_name
a4570f51 1817#endif
81f54ac7 1818#ifdef PERL_CORE
7cb3f959 1819inR |bool |should_warn_nl|NN const char *pv
81f54ac7 1820#endif
67022846 1821: Used in pp_ctl.c
7d0994e0 1822p |void |write_to_stderr|NN SV* msv
67022846 1823: Used in op.c
15f169a1 1824p |int |yyerror |NN const char *const s
19c62481
BF
1825p |int |yyerror_pv |NN const char *const s|U32 flags
1826p |int |yyerror_pvn |NN const char *const s|STRLEN len|U32 flags
d67fec57 1827: Used in perly.y, and by Data::Alias
6d9a2efc 1828EXp |int |yylex
28ac2b49 1829p |void |yyunlex
67022846 1830: Used in perl.c, pp_ctl.c
28ac2b49 1831p |int |yyparse |int gramtype
67022846 1832: Only used in scope.c
734c2451 1833p |void |parser_free |NN const yy_parser *parser
3ac7ff8f
FC
1834#ifdef PERL_CORE
1835p |void |parser_free_nexttoke_ops|NN yy_parser *parser \
1836 |NN OPSLAB *slab
1837#endif
43869a0c 1838#if defined(PERL_IN_TOKE_C)
19c62481 1839s |int |yywarn |NN const char *const s|U32 flags
af41e527 1840#endif
94bdecf9 1841#if defined(MYMALLOC)
6e9b0e18 1842Ap |void |dump_mstats |NN const char* s
ec1aec95 1843Ap |int |get_mstats |NN perl_mstats_t *buf|int buflen|int level
94bdecf9 1844#endif
4373e329
AL
1845Anpa |Malloc_t|safesysmalloc |MEM_SIZE nbytes
1846Anpa |Malloc_t|safesyscalloc |MEM_SIZE elements|MEM_SIZE size
346c6a29 1847AnpR |Malloc_t|safesysrealloc|Malloc_t where|MEM_SIZE nbytes
94bdecf9 1848Anp |Free_t |safesysfree |Malloc_t where
d1decf2b 1849Asrnx |void |croak_memory_wrap
94bdecf9
JH
1850#if defined(PERL_GLOBAL_STRUCT)
1851Ap |struct perl_vars *|GetVars
77304e85 1852Ap |struct perl_vars*|init_global_struct
7827dc65 1853Ap |void |free_global_struct|NN struct perl_vars *plvarsp
94bdecf9
JH
1854#endif
1855Ap |int |runops_standard
1856Ap |int |runops_debug
66ceb532
SS
1857Afpd |void |sv_catpvf_mg |NN SV *const sv|NN const char *const pat|...
1858Apd |void |sv_vcatpvf_mg |NN SV *const sv|NN const char *const pat \
1859 |NULLOK va_list *const args
2b021c53 1860Apd |void |sv_catpv_mg |NN SV *const sv|NULLOK const char *const ptr
b347df82 1861Apdbm |void |sv_catpvn_mg |NN SV *sv|NN const char *ptr|STRLEN len
4048f010 1862Apdbm |void |sv_catsv_mg |NN SV *dsv|NULLOK SV *ssv
89e38212
SS
1863Afpd |void |sv_setpvf_mg |NN SV *const sv|NN const char *const pat|...
1864Apd |void |sv_vsetpvf_mg |NN SV *const sv|NN const char *const pat \
1865 |NULLOK va_list *const args
aad570aa 1866Apd |void |sv_setiv_mg |NN SV *const sv|const IV i
3d9637d6 1867Apdb |void |sv_setpviv_mg |NN SV *const sv|const IV iv
aad570aa
SS
1868Apd |void |sv_setuv_mg |NN SV *const sv|const UV u
1869Apd |void |sv_setnv_mg |NN SV *const sv|const NV num
2e000ff2
SS
1870Apd |void |sv_setpv_mg |NN SV *const sv|NULLOK const char *const ptr
1871Apd |void |sv_setpvn_mg |NN SV *const sv|NN const char *const ptr|const STRLEN len
7bc54cea 1872Apd |void |sv_setsv_mg |NN SV *const dstr|NULLOK SV *const sstr
47518d95 1873Apdbm |void |sv_usepvn_mg |NN SV *sv|NULLOK char *ptr|STRLEN len
aec46f14 1874ApR |MGVTBL*|get_vtbl |int vtbl_id
3df15adc 1875Apd |char* |pv_display |NN SV *dsv|NN const char *pv|STRLEN cur|STRLEN len \
94bdecf9 1876 |STRLEN pvlim
4420a417 1877Apd |char* |pv_escape |NULLOK SV *dsv|NN char const * const str\
ab3bbdeb
YO
1878 |const STRLEN count|const STRLEN max\
1879 |NULLOK STRLEN * const escaped\
1880 |const U32 flags
e950ecba 1881Apd |char* |pv_pretty |NN SV *dsv|NN char const * const str\
ab3bbdeb 1882 |const STRLEN count|const STRLEN max\
ddc5bc0f
YO
1883 |NULLOK char const * const start_color\
1884 |NULLOK char const * const end_color\
ab3bbdeb 1885 |const U32 flags
aec46f14
AL
1886Afp |void |dump_indent |I32 level|NN PerlIO *file|NN const char* pat|...
1887Ap |void |dump_vindent |I32 level|NN PerlIO *file|NN const char* pat \
1888 |NULLOK va_list *args
b4390064
NC
1889Ap |void |do_gv_dump |I32 level|NN PerlIO *file|NN const char *name\
1890 |NULLOK GV *sv
1891Ap |void |do_gvgv_dump |I32 level|NN PerlIO *file|NN const char *name\
1892 |NULLOK GV *sv
4c31e473
NC
1893Ap |void |do_hv_dump |I32 level|NN PerlIO *file|NN const char *name\
1894 |NULLOK HV *sv
3dc78631 1895Ap |void |do_magic_dump |I32 level|NN PerlIO *file|NULLOK const MAGIC *mg|I32 nest \
94bdecf9 1896 |I32 maxnest|bool dumpops|STRLEN pvlim
aec46f14
AL
1897Ap |void |do_op_dump |I32 level|NN PerlIO *file|NULLOK const OP *o
1898Ap |void |do_pmop_dump |I32 level|NN PerlIO *file|NULLOK const PMOP *pm
1b6737cc 1899Ap |void |do_sv_dump |I32 level|NN PerlIO *file|NULLOK SV *sv|I32 nest \
94bdecf9 1900 |I32 maxnest|bool dumpops|STRLEN pvlim
1b6737cc 1901Ap |void |magic_dump |NULLOK const MAGIC *mg
94bdecf9 1902Ap |void |reginitcolors
cb2f1b7b
NC
1903ApdRmb |char* |sv_2pv_nolen |NN SV* sv
1904ApdRmb |char* |sv_2pvutf8_nolen|NN SV* sv
1905ApdRmb |char* |sv_2pvbyte_nolen|NN SV* sv
5ff52e3c
KW
1906ApmdbR |char* |sv_pv |NN SV *sv
1907ApmdbR |char* |sv_pvutf8 |NN SV *sv
1908ApmdbR |char* |sv_pvbyte |NN SV *sv
1909Apmdb |STRLEN |sv_utf8_upgrade|NN SV *sv
6a71721d 1910Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv
7bc54cea
SS
1911ApdM |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok
1912Apd |void |sv_utf8_encode |NN SV *const sv
1913ApdM |bool |sv_utf8_decode |NN SV *const sv
5abc721d 1914Apdmb |void |sv_force_normal|NN SV *sv
2e000ff2 1915Apd |void |sv_force_normal_flags|NN SV *const sv|const U32 flags
a953aca5 1916pX |SSize_t|tmps_grow_p |SSize_t ix
2b021c53 1917Apd |SV* |sv_rvweaken |NN SV *const sv
26b17dd2 1918AnpPMd |SV* |sv_get_backrefs|NN SV *const sv
67022846 1919: This is indirectly referenced by globals.c. This is somewhat annoying.
b64e5050 1920p |int |magic_killbackrefs|NN SV *sv|NN MAGIC *mg
46c461b5 1921Ap |OP* |newANONATTRSUB |I32 floor|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
e8f91c91
DD
1922Am |CV* |newATTRSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
1923pX |CV* |newATTRSUB_x |I32 floor|NULLOK OP *o|NULLOK OP *proto \
7e68c38b 1924 |NULLOK OP *attrs|NULLOK OP *block \
e8f91c91 1925 |bool o_is_gv
50278755 1926Ap |CV * |newMYSUB |I32 floor|NN OP *o|NULLOK OP *proto \
eb8433b7 1927 |NULLOK OP *attrs|NULLOK OP *block
186a5ba8 1928p |CV* |newSTUB |NN GV *gv|bool fake
67022846 1929: Used in perly.y
46c461b5 1930p |OP * |my_attrs |NN OP *o|NULLOK OP *attrs
94bdecf9 1931#if defined(USE_ITHREADS)
6c047da7
YST
1932ApR |PERL_CONTEXT*|cx_dup |NULLOK PERL_CONTEXT* cx|I32 ix|I32 max|NN CLONE_PARAMS* param
1933ApR |PERL_SI*|si_dup |NULLOK PERL_SI* si|NN CLONE_PARAMS* param
346c6a29 1934ApR |ANY* |ss_dup |NN PerlInterpreter* proto_perl|NN CLONE_PARAMS* param
6c047da7
YST
1935ApR |void* |any_dup |NULLOK void* v|NN const PerlInterpreter* proto_perl
1936ApR |HE* |he_dup |NULLOK const HE* e|bool shared|NN CLONE_PARAMS* param
1937ApR |HEK* |hek_dup |NULLOK HEK* e|NN CLONE_PARAMS* param
288b8c02
NC
1938Ap |void |re_dup_guts |NN const REGEXP *sstr|NN REGEXP *dstr \
1939 |NN CLONE_PARAMS* param
66ceb532 1940Ap |PerlIO*|fp_dup |NULLOK PerlIO *const fp|const char type|NN CLONE_PARAMS *const param
60b22aca 1941ApR |DIR* |dirp_dup |NULLOK DIR *const dp|NN CLONE_PARAMS *const param
66ceb532 1942ApR |GP* |gp_dup |NULLOK GP *const gp|NN CLONE_PARAMS *const param
b88ec9b8 1943ApR |MAGIC* |mg_dup |NULLOK MAGIC *mg|NN CLONE_PARAMS *const param
43869a0c 1944#if defined(PERL_IN_SV_C)
538f2e76
NC
1945s |SV ** |sv_dup_inc_multiple|NN SV *const *source|NN SV **dest \
1946 |SSize_t items|NN CLONE_PARAMS *const param
d08d57ef
NC
1947sR |SV* |sv_dup_common |NN const SV *const sstr \
1948 |NN CLONE_PARAMS *const param
1949#endif
1eb6e4ca 1950ApR |SV* |sv_dup |NULLOK const SV *const sstr|NN CLONE_PARAMS *const param
a09252eb
NC
1951ApR |SV* |sv_dup_inc |NULLOK const SV *const sstr \
1952 |NN CLONE_PARAMS *const param
1eb6e4ca 1953Ap |void |rvpv_dup |NN SV *const dstr|NN const SV *const sstr|NN CLONE_PARAMS *const param
66ceb532 1954Ap |yy_parser*|parser_dup |NULLOK const yy_parser *const proto|NN CLONE_PARAMS *const param
4674ade5 1955#endif
346c6a29 1956ApR |PTR_TBL_t*|ptr_table_new
1eb6e4ca
SS
1957ApR |void* |ptr_table_fetch|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
1958Ap |void |ptr_table_store|NN PTR_TBL_t *const tbl|NULLOK const void *const oldsv \
1959 |NN void *const newsv
1960Ap |void |ptr_table_split|NN PTR_TBL_t *const tbl
5c5ade3e 1961ApD |void |ptr_table_clear|NULLOK PTR_TBL_t *const tbl
1eb6e4ca 1962Ap |void |ptr_table_free|NULLOK PTR_TBL_t *const tbl
ddacffcf 1963#if defined(HAVE_INTERP_INTERN)
94bdecf9
JH
1964Ap |void |sys_intern_clear
1965Ap |void |sys_intern_init
fe826663
NC
1966# if defined(USE_ITHREADS)
1967Ap |void |sys_intern_dup |NN struct interp_intern* src|NN struct interp_intern* dst
1968# endif
94bdecf9
JH
1969#endif
1970
ae103e09 1971AmopP |const XOP * |custom_op_xop |NN const OP *o
4048f010
NC
1972ApR |const char * |custom_op_name |NN const OP *o
1973ApR |const char * |custom_op_desc |NN const OP *o
ae103e09 1974pRX |XOPRETANY |custom_op_get_field |NN const OP *o|const xop_flags_enum field
1830b3d9
BM
1975Aop |void |custom_op_register |NN Perl_ppaddr_t ppaddr \
1976 |NN const XOP *xop
94bdecf9 1977
c48640ec
AL
1978Adp |void |sv_nosharing |NULLOK SV *sv
1979Adpbm |void |sv_nolocking |NULLOK SV *sv
eba16661 1980Adp |bool |sv_destroyable |NULLOK SV *sv
d0647d4e 1981Adpb |void |sv_nounlocking |NULLOK SV *sv
62375a60 1982Adp |int |nothreadhook
0d96b528 1983p |void |init_constants
94bdecf9 1984
43869a0c 1985#if defined(PERL_IN_DOOP_C)
c395bd6c
AL
1986sR |I32 |do_trans_simple |NN SV * const sv
1987sR |I32 |do_trans_count |NN SV * const sv
1988sR |I32 |do_trans_complex |NN SV * const sv
1989sR |I32 |do_trans_simple_utf8 |NN SV * const sv
1990sR |I32 |do_trans_count_utf8 |NN SV * const sv
1991sR |I32 |do_trans_complex_utf8 |NN SV * const sv
94bdecf9
JH
1992#endif
1993
43869a0c 1994#if defined(PERL_IN_GV_C)
e6066781 1995s |void |gv_init_svtype |NN GV *gv|const svtype sv_type
290a1700 1996s |void |gv_magicalize_isa |NN GV *gv
e950ecba 1997s |bool|parse_gv_stash_name|NN HV **stash|NN GV **gv \
90aeefb4
BF
1998 |NN const char **name|NN STRLEN *len \
1999 |NN const char *nambeg|STRLEN full_len \
2000 |const U32 is_utf8|const I32 add
e950ecba 2001s |bool|find_default_stash|NN HV **stash|NN const char *name \
90aeefb4 2002 |STRLEN len|const U32 is_utf8|const I32 add \
b3041197 2003 |const svtype sv_type
e950ecba 2004s |bool|gv_magicalize|NN GV *gv|NN HV *stash|NN const char *name \
1321bbe3 2005 |STRLEN len \
b3041197 2006 |const svtype sv_type
e950ecba
KW
2007s |void|maybe_multimagic_gv|NN GV *gv|NN const char *name|const svtype sv_type
2008s |bool|gv_is_in_main|NN const char *name|STRLEN len \
536d1a88 2009 |const U32 is_utf8
ee33cc1a 2010s |void |require_tie_mod|NN GV *gv|NN const char varname \
a1683482 2011 |NN const char * name|STRLEN len \
e94ea821 2012 |const U32 flags
94bdecf9
JH
2013#endif
2014
e0171a1a
DM
2015#if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
2016po |SV* |hfree_next_entry |NN HV *hv|NN STRLEN *indexp
2017#endif
2018
43869a0c 2019#if defined(PERL_IN_HV_C)
adf6906b 2020s |void |hsplit |NN HV *hv|STRLEN const oldsize|STRLEN newsize
3abe233e 2021s |void |hfreeentries |NN HV *hv
a03199ea 2022s |SV* |hv_free_ent_ret|NN HV *hv|NN HE *entry
346c6a29 2023sR |HE* |new_he
5f66b61c 2024sanR |HEK* |save_hek_flags |NN const char *str|I32 len|U32 hash|int flags
b0e6ae5b 2025sn |void |hv_magic_check |NN HV *hv|NN bool *needs_copy|NN bool *needs_store
1b6737cc 2026s |void |unshare_hek_or_pvn|NULLOK const HEK* hek|NULLOK const char* str|I32 len|U32 hash
4048f010 2027sR |HEK* |share_hek_flags|NN const char *str|I32 len|U32 hash|int flags
1df70142 2028rs |void |hv_notallowed |int flags|NN const char *key|I32 klen|NN const char *msg
ec79994d 2029in |U32|ptr_hash|PTRV u
0e0ab621 2030s |struct xpvhv_aux*|hv_auxinit|NN HV *hv
bea177f3 2031sn |struct xpvhv_aux*|hv_auxinit_internal|NN struct xpvhv_aux *iter
4048f010
NC
2032sM |SV* |hv_delete_common|NULLOK HV *hv|NULLOK SV *keysv \
2033 |NULLOK const char *key|STRLEN klen|int k_flags|I32 d_flags \
2034 |U32 hash
2035sM |void |clear_placeholders |NN HV *hv|U32 items
94bdecf9
JH
2036#endif
2037
43869a0c 2038#if defined(PERL_IN_MG_C)
ff44333e 2039s |void |save_magic_flags|I32 mgs_ix|NN SV *sv|U32 flags
1be7e5f1 2040s |int |magic_methpack |NN SV *sv|NN const MAGIC *mg|NN SV *meth
efaf3674 2041s |SV* |magic_methcall1|NN SV *sv|NN const MAGIC *mg \
36925d9e 2042 |NN SV *meth|U32 flags \
aec46f14 2043 |int n|NULLOK SV *val
251cc6a6 2044s |void |restore_magic |NULLOK const void *p
0c4d3b5e 2045s |void |unwind_handler_stack|NULLOK const void *p
d9fe7d23 2046s |void |fixup_errno_string|NN SV* sv
8772537c 2047
94bdecf9
JH
2048#endif
2049
43869a0c 2050#if defined(PERL_IN_OP_C)
5f66b61c 2051sRn |bool |is_handle_constructor|NN const OP *o|I32 numargs
4fec8804 2052sR |I32 |assignment_type|NULLOK const OP *o
23083432 2053s |void |forget_pmop |NN PMOP *const o
bfd0ff22 2054s |void |find_and_forget_pmops |NN OP *o
504618e9 2055s |void |cop_free |NN COP *cop
46c461b5 2056s |OP* |modkids |NULLOK OP *o|I32 type
504618e9 2057s |OP* |scalarboolean |NN OP *o
71c4dbc3 2058sR |OP* |search_const |NN OP *o
504618e9
AL
2059sR |OP* |new_logop |I32 type|I32 flags|NN OP **firstp|NN OP **otherp
2060s |void |simplify_sort |NN OP *o
1ecbeecf 2061sRn |bool |scalar_mod_type|NULLOK const OP *o|I32 type
aec46f14
AL
2062s |OP * |my_kid |NULLOK OP *o|NULLOK OP *attrs|NN OP **imopsp
2063s |OP * |dup_attrlist |NN OP *o
ad0dc73b 2064s |void |apply_attrs |NN HV *stash|NN SV *target|NULLOK OP *attrs
aec46f14 2065s |void |apply_attrs_my |NN HV *stash|NN OP *target|NULLOK OP *attrs|NN OP **imopsp
ed9feedd
DD
2066s |void |bad_type_pv |I32 n|NN const char *t|NN const OP *o|NN const OP *kid
2067s |void |bad_type_gv |I32 n|NN GV *gv|NN const OP *kid|NN const char *t
eb796c7f 2068s |void |no_bareword_allowed|NN OP *o
504618e9 2069sR |OP* |no_fh_allowed|NN OP *o
ce16c625
BF
2070sR |OP* |too_few_arguments_pv|NN OP *o|NN const char* name|U32 flags
2071s |OP* |too_many_arguments_pv|NN OP *o|NN const char* name|U32 flags
ef519e13 2072s |bool |looks_like_bool|NN const OP* o
0d863452
RH
2073s |OP* |newGIVWHENOP |NULLOK OP* cond|NN OP *block \
2074 |I32 enter_opcode|I32 leave_opcode \
2075 |PADOFFSET entertarg
2076s |OP* |ref_array_or_hash|NULLOK OP* cond
2eaf799e 2077s |bool |process_special_blocks |I32 floor \
d699ecb7 2078 |NN const char *const fullname\
33fb7a6e 2079 |NN GV *const gv|NN CV *const cv
3969ff3f
TC
2080s |void |clear_special_blocks |NN const char *const fullname\
2081 |NN GV *const gv|NN CV *const cv
c7e45529 2082#endif
346c6a29 2083XpR |void* |Slab_Alloc |size_t sz
8be227ab
FC
2084Xp |void |Slab_Free |NN void *op
2085#if defined(PERL_DEBUG_READONLY_OPS)
7aef8e5b 2086# if defined(PERL_CORE)
3107b51f 2087px |void |Slab_to_ro |NN OPSLAB *slab
7bbbc3c0 2088px |void |Slab_to_rw |NN OPSLAB *const slab
3107b51f 2089# endif
67022846 2090: Used in OpREFCNT_inc() in sv.c
fc97af9c 2091poxM |OP * |op_refcnt_inc |NULLOK OP *o
67022846 2092: FIXME - can be static.
fc97af9c 2093poxM |PADOFFSET |op_refcnt_dec |NN OP *o
94bdecf9
JH
2094#endif
2095
43869a0c 2096#if defined(PERL_IN_PERL_C)
2f9285f8 2097s |void |find_beginning |NN SV* linestr_sv|NN PerlIO *rsfp
f20b2998 2098s |void |forbid_setid |const char flag|const bool suidscript
08d0d8ab 2099s |void |incpush |NN const char *const dir|STRLEN len \
55b4bc1c 2100 |U32 flags
c29067d7
CH
2101s |SV* |mayberelocate |NN const char *const dir|STRLEN len \
2102 |U32 flags
50d61629 2103s |void |incpush_use_sep|NN const char *p|STRLEN len|U32 flags
94bdecf9
JH
2104s |void |init_interp
2105s |void |init_ids
94bdecf9 2106s |void |init_main_stash
2cace6ac 2107s |void |init_perllib
aec46f14 2108s |void |init_postdump_symbols|int argc|NN char **argv|NULLOK char **env
94bdecf9
JH
2109s |void |init_predump_symbols
2110rs |void |my_exit_jump
2111s |void |nuke_stacks
8d113837
NC
2112s |PerlIO *|open_script |NN const char *scriptname|bool dosearch \
2113 |NN bool *suidscript
b6f82619 2114sr |void |usage
cc69b689 2115#ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
ec2019ad 2116so |void |validate_suid |NN PerlIO *rsfp
ec2019ad 2117#endif
c4bc78d9 2118sr |void |minus_v
2f9285f8 2119
aec46f14 2120s |void* |parse_body |NULLOK char **env|XSINIT_t xsinit
dd374669 2121rs |void |run_body |I32 oldscope
59d6f6a4 2122# ifndef PERL_IS_MINIPERL
7ffdaae6 2123s |SV * |incpush_if_exists|NN AV *const av|NN SV *dir|NN SV *const stem
59d6f6a4 2124# endif
94bdecf9
JH
2125#endif
2126
43869a0c 2127#if defined(PERL_IN_PP_C)
f595e19f 2128s |size_t |do_chomp |NN SV *retval|NN SV *sv|bool chomping
7332a6c4 2129s |OP* |do_delete_local
aec46f14 2130sR |SV* |refto |NN SV* sv
94bdecf9 2131#endif
43869a0c 2132#if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
67022846 2133: Used in pp_hot.c
dc3c76f8 2134pRxo |GV* |softref2xv |NN SV *const sv|NN const char *const what \
fe9845cc 2135 |const svtype type|NN SV ***spp
dc3c76f8 2136#endif
94bdecf9 2137
43869a0c 2138#if defined(PERL_IN_PP_PACK_C)
aec46f14
AL
2139s |I32 |unpack_rec |NN struct tempsym* symptr|NN const char *s \
2140 |NN const char *strbeg|NN const char *strend|NULLOK const char **new_s
2141s |SV ** |pack_rec |NN SV *cat|NN struct tempsym* symptr|NN SV **beglist|NN SV **endlist
4373e329
AL
2142s |SV* |mul128 |NN SV *sv|U8 m
2143s |I32 |measure_struct |NN struct tempsym* symptr
2144s |bool |next_symbol |NN struct tempsym* symptr
1df70142 2145sR |SV* |is_an_int |NN const char *s|STRLEN l
4373e329 2146s |int |div128 |NN SV *pnum|NN bool *done
4048f010
NC
2147s |const char *|group_end |NN const char *patptr|NN const char *patend \
2148 |char ender
2149sR |const char *|get_num |NN const char *patptr|NN I32 *lenptr
aec46f14
AL
2150ns |bool |need_utf8 |NN const char *pat|NN const char *patend
2151ns |char |first_symbol |NN const char *pat|NN const char *patend
0bd48802 2152sR |char * |sv_exp_grow |NN SV *sv|STRLEN needed
d21d7215 2153snR |char * |my_bytes_to_utf8|NN const U8 *start|STRLEN len|NN char *dest \
3a88beaa 2154 |const bool needs_swap
94bdecf9
JH
2155#endif
2156
43869a0c 2157#if defined(PERL_IN_PP_CTL_C)
46c461b5 2158sR |OP* |docatch |NULLOK OP *o
5db1eb8d
BF
2159sR |OP* |dofindlabel |NN OP *o|NN const char *label|STRLEN len \
2160 |U32 flags|NN OP **opstack|NN OP **oplimit
74e0ddf7 2161s |MAGIC *|doparseform |NN SV *sv
901017d6
AL
2162snR |bool |num_overflow |NV value|I32 fldsize|I32 frcsize
2163sR |I32 |dopoptoeval |I32 startingblock
97f2561e 2164sR |I32 |dopoptogivenfor|I32 startingblock
5db1eb8d 2165sR |I32 |dopoptolabel |NN const char *label|STRLEN len|U32 flags
901017d6 2166sR |I32 |dopoptoloop |I32 startingblock
aec46f14 2167sR |I32 |dopoptosub_at |NN const PERL_CONTEXT* cxstk|I32 startingblock
0d863452 2168sR |I32 |dopoptowhen |I32 startingblock
46c461b5 2169s |void |save_lines |NULLOK AV *array|NN SV *sv
1c23e2bd 2170s |bool |doeval_compile |U8 gimme \
f45b078d 2171 |NULLOK CV* outside|U32 seq|NULLOK HV* hh
282b29ee 2172sR |PerlIO *|check_type_and_open|NN SV *name
75c20bac 2173#ifndef PERL_DISABLE_PMC
282b29ee 2174sR |PerlIO *|doopen_pm |NN SV *name
75c20bac 2175#endif
511712dc 2176iRn |bool |path_is_searchable|NN const char *name
0bd48802 2177sR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen
84679df5 2178sR |PMOP* |make_matcher |NN REGEXP* re
0d863452
RH
2179sR |bool |matcher_matches_sv|NN PMOP* matcher|NN SV* sv
2180s |void |destroy_matcher|NN PMOP* matcher
be88a5c3
FC
2181s |OP* |do_smartmatch |NULLOK HV* seen_this \
2182 |NULLOK HV* seen_other|const bool copied
94bdecf9
JH
2183#endif
2184
43869a0c 2185#if defined(PERL_IN_PP_HOT_C)
fb8f4cf8 2186s |void |do_oddball |NN SV **oddkey|NN SV **firstkey
7d6c333c 2187i |HV* |opmethod_stash |NN SV* meth
94bdecf9
JH
2188#endif
2189
43869a0c 2190#if defined(PERL_IN_PP_SORT_C)
31e9e0a3
SH
2191s |I32 |sv_ncmp |NN SV *const a|NN SV *const b
2192s |I32 |sv_i_ncmp |NN SV *const a|NN SV *const b
2193s |I32 |amagic_ncmp |NN SV *const a|NN SV *const b
2194s |I32 |amagic_i_ncmp |NN SV *const a|NN SV *const b
2195s |I32 |amagic_cmp |NN SV *const str1|NN SV *const str2
0ce92b9f 2196# ifdef USE_LOCALE_COLLATE
31e9e0a3 2197s |I32 |amagic_cmp_locale|NN SV *const str1|NN SV *const str2
0ce92b9f 2198# endif
31e9e0a3
SH
2199s |I32 |sortcv |NN SV *const a|NN SV *const b
2200s |I32 |sortcv_xsub |NN SV *const a|NN SV *const b
2201s |I32 |sortcv_stacked |NN SV *const a|NN SV *const b
3d4dd4c7 2202s |void |qsortsvu |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t compare
f0f5dc9d
AL
2203#endif
2204
43869a0c 2205#if defined(PERL_IN_PP_SYS_C)
10223365 2206s |OP* |doform |NN CV *cv|NN GV *gv|NULLOK OP *retop
94bdecf9 2207# if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
b464bac0 2208sR |int |dooneliner |NN const char *cmd|NN const char *filename
94bdecf9 2209# endif
d35c1b5e 2210s |SV * |space_join_names_mortal|NULLOK char *const *array
94bdecf9 2211#endif
3e0cb5de 2212p |OP * |tied_method|NN SV *methname|NN SV **sp \
d682515d
NC
2213 |NN SV *const sv|NN const MAGIC *const mg \
2214 |const U32 flags|U32 argc|...
94bdecf9 2215
8b9781c9
YO
2216#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
2217Ep |void |regprop |NULLOK const regexp *prog|NN SV* sv|NN const regnode* o|NULLOK const regmatch_info *reginfo \
2218 |NULLOK const RExC_state_t *pRExC_state
7b031478 2219Ep |int |re_printf |NN const char *fmt|...
8b9781c9 2220#endif
43869a0c 2221#if defined(PERL_IN_REGCOMP_C)
09b2b2e6 2222Es |regnode*|reg |NN RExC_state_t *pRExC_state \
4048f010 2223 |I32 paren|NN I32 *flagp|U32 depth
f917fa87
KW
2224Es |regnode*|regnode_guts |NN RExC_state_t *pRExC_state \
2225 |const U8 op \
2226 |const STRLEN extra_len \
2227 |NN const char* const name
09b2b2e6 2228Es |regnode*|reganode |NN RExC_state_t *pRExC_state|U8 op \
4048f010 2229 |U32 arg
9990d5ab
KW
2230Es |regnode*|reg2Lanode |NN RExC_state_t *pRExC_state \
2231 |const U8 op \
2232 |const U32 arg1 \
2233 |const I32 arg2
09b2b2e6 2234Es |regnode*|regatom |NN RExC_state_t *pRExC_state \
4048f010 2235 |NN I32 *flagp|U32 depth
09b2b2e6 2236Es |regnode*|regbranch |NN RExC_state_t *pRExC_state \
4048f010 2237 |NN I32 *flagp|I32 first|U32 depth
09b2b2e6 2238Es |void |set_ANYOF_arg |NN RExC_state_t* const pRExC_state \
d2b7f31e 2239 |NN regnode* const node \
9991ebf1 2240 |NULLOK SV* const cp_list \
d2b7f31e 2241 |NULLOK SV* const runtime_defns \
1ee208c4 2242 |NULLOK SV* const only_utf8_locale_list \
9991ebf1
KW
2243 |NULLOK SV* const swash \
2244 |const bool has_user_defined_property
b7c50ab8
KW
2245Es |void |output_or_return_posix_warnings \
2246 |NN RExC_state_t *pRExC_state \
2247 |NN AV* posix_warnings \
2248 |NULLOK AV** return_posix_warnings
a5454c46 2249Es |AV* |add_multi_match|NULLOK AV* multi_char_matches \
8f0cd35a 2250 |NN SV* multi_string \
a5454c46 2251 |const STRLEN cp_count
af631a26 2252Es |regnode*|regclass |NN RExC_state_t *pRExC_state \
8316ead6 2253 |NN I32 *flagp|U32 depth|const bool stop_at_1 \
9b98bc7f 2254 |bool allow_multi_fold \
af631a26
KW
2255 |const bool silence_non_portable \
2256 |const bool strict \
46d34d0e
KW
2257 |bool optimizable \
2258 |NULLOK SV** ret_invlist \
acb2202e 2259 |NULLOK AV** return_posix_warnings
8954b91a
KW
2260Es |void|add_above_Latin1_folds|NN RExC_state_t *pRExC_state|const U8 cp \
2261 |NN SV** invlist
6421685e
KW
2262Ei |regnode*|handle_named_backref|NN RExC_state_t *pRExC_state \
2263 |NN I32 *flagp \
2264 |NN char * parse_start \
2265 |char ch
6798c95d 2266EsnP |unsigned int|regex_set_precedence|const U8 my_operator
09b2b2e6 2267Es |regnode*|handle_regex_sets|NN RExC_state_t *pRExC_state \
b5864679 2268 |NULLOK SV ** return_invlist \
f4f5fe57 2269 |NN I32 *flagp|U32 depth \
9d1a5160 2270 |NN char * const oregcomp_parse
a03e9135
KW
2271#if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING)
2272Es |void |dump_regex_sets_structures \
2273 |NN RExC_state_t *pRExC_state \
2274 |NN AV * stack \
2275 |const IV fence|NN AV * fence_stack
2276#endif
09b2b2e6
KW
2277Es |void|parse_lparen_question_flags|NN RExC_state_t *pRExC_state
2278Es |regnode*|reg_node |NN RExC_state_t *pRExC_state|U8 op
09b2b2e6 2279Es |regnode*|regpiece |NN RExC_state_t *pRExC_state \
4048f010 2280 |NN I32 *flagp|U32 depth
b6d67071
KW
2281Es |bool |grok_bslash_N |NN RExC_state_t *pRExC_state \
2282 |NULLOK regnode** nodep \
2283 |NULLOK UV *code_point_p \
2284 |NULLOK int* cp_count \
2285 |NN I32 *flagp \
fe0a3646 2286 |const bool strict \
b6d67071 2287 |const U32 depth
09b2b2e6 2288Es |void |reginsert |NN RExC_state_t *pRExC_state \
4048f010 2289 |U8 op|NN regnode *opnd|U32 depth
6f2a89df
KW
2290Es |void |regtail |NN RExC_state_t * pRExC_state \
2291 |NN const regnode * const p \
2292 |NN const regnode * const val \
2293 |const U32 depth
09b2b2e6 2294Es |SV * |reg_scan_name |NN RExC_state_t *pRExC_state \
4048f010 2295 |U32 flags
09b2b2e6 2296Es |U32 |join_exact |NN RExC_state_t *pRExC_state \
9d071ca8 2297 |NN regnode *scan|NN UV *min_subtract \
fb29cc72 2298 |NN bool *unfolded_multi_char \
f758bddf 2299 |U32 flags|NULLOK regnode *val|U32 depth
09b2b2e6 2300Ei |void |alloc_maybe_populate_EXACT|NN RExC_state_t *pRExC_state \
34b39fc9 2301 |NN regnode *node|NN I32 *flagp|STRLEN len \
ed885487 2302 |UV code_point|bool downgradable
dc3bf405 2303Ein |U8 |compute_EXACTish|NN RExC_state_t *pRExC_state
f400bbf0 2304Es |void |nextchar |NN RExC_state_t *pRExC_state
3e699fa0
KW
2305Es |void |skip_to_be_ignored_text|NN RExC_state_t *pRExC_state \
2306 |NN char ** p \
2307 |const bool force_to_xmod
dc3bf405 2308Ein |char * |reg_skipcomment|NN RExC_state_t *pRExC_state|NN char * p
09b2b2e6
KW
2309Es |void |scan_commit |NN const RExC_state_t *pRExC_state \
2310 |NN struct scan_data_t *data \
2311 |NN SSize_t *minlenp \
2312 |int is_inf
ecfdcf39 2313Es |void |populate_ANYOF_from_invlist|NN regnode *node|NN SV** invlist_ptr
3420edd7 2314Es |void |ssc_anything |NN regnode_ssc *ssc
dc3bf405 2315EsRn |int |ssc_is_anything|NN const regnode_ssc *ssc
cdd87c1d 2316Es |void |ssc_init |NN const RExC_state_t *pRExC_state \
557bd3fb 2317 |NN regnode_ssc *ssc
dc3bf405 2318EsRn |int |ssc_is_cp_posixl_init|NN const RExC_state_t *pRExC_state \
fb38762f 2319 |NN const regnode_ssc *ssc
1ca93ef1
KW
2320Es |void |ssc_and |NN const RExC_state_t *pRExC_state \
2321 |NN regnode_ssc *ssc \
7dcac5f6 2322 |NN const regnode_charclass *and_with
cdd87c1d 2323Es |void |ssc_or |NN const RExC_state_t *pRExC_state \
557bd3fb 2324 |NN regnode_ssc *ssc \
7dcac5f6 2325 |NN const regnode_charclass *or_with
fb38762f
KW
2326Es |SV* |get_ANYOF_cp_list_for_ssc \
2327 |NN const RExC_state_t *pRExC_state \
5c0f85ef 2328 |NN const regnode_charclass* const node
fb38762f
KW
2329Ei |void |ssc_intersection|NN regnode_ssc *ssc \
2330 |NN SV* const invlist|const bool invert_2nd
2331Ei |void |ssc_union |NN regnode_ssc *ssc \
2332 |NN SV* const invlist|const bool invert_2nd
2333Ei |void |ssc_add_range |NN regnode_ssc *ssc \
2334 |UV const start|UV const end
2335Ei |void |ssc_cp_and |NN regnode_ssc *ssc \
2336 |UV const cp
dc3bf405 2337Ein |void |ssc_clear_locale|NN regnode_ssc *ssc
b35552de
KW
2338Ens |bool |is_ssc_worth_it|NN const RExC_state_t * pRExC_state \
2339 |NN const regnode_ssc * ssc
fb38762f
KW
2340Es |void |ssc_finalize |NN RExC_state_t *pRExC_state \
2341 |NN regnode_ssc *ssc
09b2b2e6 2342Es |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \
ea3daa5d 2343 |NN regnode **scanp|NN SSize_t *minlenp \
49f55535 2344 |NN SSize_t *deltap|NN regnode *last \
4048f010 2345 |NULLOK struct scan_data_t *data \
09a65838 2346 |I32 stopparen|U32 recursed_depth \
b8f7bb16 2347 |NULLOK regnode_ssc *and_withp \
a3621e74 2348 |U32 flags|U32 depth
c8a27964 2349EsRn |U32 |add_data |NN RExC_state_t* const pRExC_state \
cf78de0b 2350 |NN const char* const s|const U32 n
c1d900c3 2351rs |void |re_croak2 |bool utf8|NN const char* pat1|NN const char* pat2|...
46d34d0e
KW
2352Es |int |handle_possible_posix \
2353 |NN RExC_state_t *pRExC_state \
2354 |NN const char* const s \
2355 |NULLOK char ** updated_parse_ptr \
b7c50ab8
KW
2356 |NULLOK AV** posix_warnings \
2357 |const bool check_only
09b2b2e6 2358Es |I32 |make_trie |NN RExC_state_t *pRExC_state \
4048f010
NC
2359 |NN regnode *startbranch|NN regnode *first \
2360 |NN regnode *last|NN regnode *tail \
786e8c11 2361 |U32 word_count|U32 flags|U32 depth
615a2e7f
YO
2362Es |regnode *|construct_ahocorasick_from_trie|NN RExC_state_t *pRExC_state \
2363 |NN regnode *source|U32 depth
f4ae5a27 2364EnPs |const char *|cntrl_to_mnemonic|const U8 c
c6871b76
KW
2365EnPs |int |edit_distance |NN const UV *src \
2366 |NN const UV *tgt \
2367 |const STRLEN x \
2368 |const STRLEN y \
2369 |const SSize_t maxDistance
3dab1dad 2370# ifdef DEBUGGING
7b031478 2371Ep |int |re_indentf |NN const char *fmt|U32 depth|...
e950ecba 2372Es |void |regdump_intflags|NULLOK const char *lead| const U32 flags
f7819f85 2373Es |void |regdump_extflags|NULLOK const char *lead| const U32 flags
3dab1dad
YO
2374Es |const regnode*|dumpuntil|NN const regexp *r|NN const regnode *start \
2375 |NN const regnode *node \
786e8c11
YO
2376 |NULLOK const regnode *last \
2377 |NULLOK const regnode *plast \
2378 |NN SV* sv|I32 indent|U32 depth
8e8a4468 2379Es |void |put_code_point |NN SV* sv|UV c
b77aba85
KW
2380Es |bool |put_charclass_bitmap_innards|NN SV* sv \
2381 |NN char* bitmap \
2382 |NULLOK SV* nonbitmap_invlist \
2383 |NULLOK SV* only_utf8_locale_invlist\
753b2c6a
KW
2384 |NULLOK const regnode * const node \
2385 |const bool force_as_is_display
b77aba85
KW
2386Es |SV* |put_charclass_bitmap_innards_common \
2387 |NN SV* invlist \
2388 |NULLOK SV* posixes \
2389 |NULLOK SV* only_utf8 \
2390 |NULLOK SV* not_utf8 \
2391 |NULLOK SV* only_utf8_locale \
2392 |const bool invert
2393Es |void |put_charclass_bitmap_innards_invlist \
2394 |NN SV *sv \
2395 |NN SV* invlist
e053ac11
KW
2396Es |void |put_range |NN SV* sv|UV start|const UV end \
2397 |const bool allow_literals
55eed653 2398Es |void |dump_trie |NN const struct _reg_trie_data *trie\
2b8b4781
NC
2399 |NULLOK HV* widecharmap|NN AV *revcharmap\
2400 |U32 depth
55eed653 2401Es |void |dump_trie_interim_list|NN const struct _reg_trie_data *trie\
2b8b4781
NC
2402 |NULLOK HV* widecharmap|NN AV *revcharmap\
2403 |U32 next_alloc|U32 depth
55eed653 2404Es |void |dump_trie_interim_table|NN const struct _reg_trie_data *trie\
2b8b4781
NC
2405 |NULLOK HV* widecharmap|NN AV *revcharmap\
2406 |U32 next_alloc|U32 depth
09b2b2e6 2407Es |U8 |regtail_study |NN RExC_state_t *pRExC_state \
4048f010 2408 |NN regnode *p|NN const regnode *val|U32 depth
3dab1dad 2409# endif
94bdecf9
JH
2410#endif
2411
43869a0c 2412#if defined(PERL_IN_REGEXEC_C)
31c7f561 2413ERs |bool |isFOO_lc |const U8 classnum|const U8 character
3018b823 2414ERs |bool |isFOO_utf8_lc |const U8 classnum|NN const U8* character
99a90e59 2415ERs |SSize_t|regmatch |NN regmatch_info *reginfo|NN char *startpos|NN regnode *prog
21553840 2416WERs |I32 |regrepeat |NN regexp *prog|NN char **startposp \
02d5137b
DM
2417 |NN const regnode *p \
2418 |NN regmatch_info *const reginfo \
21553840 2419 |I32 max
63f46dab 2420ERs |bool |regtry |NN regmatch_info *reginfo|NN char **startposp
3db24e1e
KW
2421ERs |bool |reginclass |NULLOK regexp * const prog \
2422 |NN const regnode * const n \
2423 |NN const U8 * const p \
2424 |NN const U8 * const p_end \
635cd5d4 2425 |bool const utf8_target
21553840
YO
2426WEs |CHECKPOINT|regcppush |NN const regexp *rex|I32 parenfloor\
2427 |U32 maxopenparen
2428WEs |void |regcppop |NN regexp *rex|NN U32 *maxopenparen_p
2429WEs |void |regcp_restore |NN regexp *rex|I32 ix|NN U32 *maxopenparen_p
ea3daa5d 2430ERsn |U8* |reghop3 |NN U8 *s|SSize_t off|NN const U8 *lim
ea3daa5d 2431ERsn |U8* |reghop4 |NN U8 *s|SSize_t off|NN const U8 *llim \
4048f010 2432 |NN const U8 *rlim
b6c0faaf 2433ERsn |U8* |reghopmaybe3 |NN U8 *s|SSize_t off|NN const U8 * const lim
984e6dd1
DM
2434ERs |char* |find_byclass |NN regexp * prog|NN const regnode *c \
2435 |NN char *s|NN const char *strend \
f9176b44 2436 |NULLOK regmatch_info *reginfo
a3b680e6 2437Es |void |to_utf8_substr |NN regexp * prog
7e0d5ad7 2438Es |bool |to_byte_substr |NN regexp * prog
dc3bf405 2439ERsn |I32 |reg_check_named_buff_matched |NN const regexp *rex \
4048f010 2440 |NN const regnode *scan
b0e24409
KW
2441EsR |bool |isGCB |const GCB_enum before \
2442 |const GCB_enum after \
2443 |NN const U8 * const strbeg \
2444 |NN const U8 * const curpos \
2445 |const bool utf8_target
2446EsR |GCB_enum|backup_one_GCB|NN const U8 * const strbeg \
2447 |NN U8 ** curpos \
2448 |const bool utf8_target
6b659339
KW
2449EsR |bool |isLB |LB_enum before \
2450 |LB_enum after \
2451 |NN const U8 * const strbeg \
2452 |NN const U8 * const curpos \
2453 |NN const U8 * const strend \
2454 |const bool utf8_target
2455EsR |LB_enum|advance_one_LB |NN U8 ** curpos \
2456 |NN const U8 * const strend \
2457 |const bool utf8_target
2458EsR |LB_enum|backup_one_LB |NN const U8 * const strbeg \
2459 |NN U8 ** curpos \
2460 |const bool utf8_target
85e5f08b
KW
2461EsR |bool |isSB |SB_enum before \
2462 |SB_enum after \
06ae2722
KW
2463 |NN const U8 * const strbeg \
2464 |NN const U8 * const curpos \
ae3bb8ea
KW
2465 |NN const U8 * const strend \
2466 |const bool utf8_target
85e5f08b 2467EsR |SB_enum|advance_one_SB |NN U8 ** curpos \
06ae2722
KW
2468 |NN const U8 * const strend \
2469 |const bool utf8_target
85e5f08b 2470EsR |SB_enum|backup_one_SB |NN const U8 * const strbeg \
ae3bb8ea
KW
2471 |NN U8 ** curpos \
2472 |const bool utf8_target
85e5f08b
KW
2473EsR |bool |isWB |WB_enum previous \
2474 |WB_enum before \
2475 |WB_enum after \
ae3bb8ea
KW
2476 |NN const U8 * const strbeg \
2477 |NN const U8 * const curpos \
2478 |NN const U8 * const strend \
2479 |const bool utf8_target
85e5f08b 2480EsR |WB_enum|advance_one_WB |NN U8 ** curpos \
06ae2722 2481 |NN const U8 * const strend \
4370fbb5
KW
2482 |const bool utf8_target \
2483 |const bool skip_Extend_Format
85e5f08b 2484EsR |WB_enum|backup_one_WB |NN WB_enum * previous \
06ae2722
KW
2485 |NN const U8 * const strbeg \
2486 |NN U8 ** curpos \
2487 |const bool utf8_target
07be1b83 2488# ifdef DEBUGGING
786e8c11 2489Es |void |dump_exec_pos |NN const char *locinput|NN const regnode *scan|NN const char *loc_regeol\
389f4c1e 2490 |NN const char *loc_bostr|NN const char *loc_reg_starttry|const bool do_utf8|const U32 depth
efd26800
NC
2491Es |void |debug_start_match|NN const REGEXP *prog|const bool do_utf8\
2492 |NN const char *start|NN const char *end\
2493 |NN const char *blurb
cb41e5d6 2494
7b031478 2495Ep |int |re_exec_indentf |NN const char *fmt|U32 depth|...
07be1b83 2496# endif
94bdecf9
JH
2497#endif
2498
43869a0c 2499#if defined(PERL_IN_DUMP_C)
de5fee32 2500s |CV* |deb_curcv |I32 ix
46c461b5 2501s |void |debprof |NN const OP *o
0bd48802 2502s |UV |sequence_num |NULLOK const OP *o
4199688e 2503s |SV* |pm_description |NN const PMOP *pm
94bdecf9
JH
2504#endif
2505
43869a0c 2506#if defined(PERL_IN_SCOPE_C)
af7df257 2507s |SV* |save_scalar_at |NN SV **sptr|const U32 flags
94bdecf9
JH
2508#endif
2509
4c74a7df 2510#if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
67022846 2511: Used in gv.c
2b021c53 2512po |void |sv_add_backref |NN SV *const tsv|NN SV *const sv
e15faf7d
NC
2513#endif
2514
43869a0c 2515#if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
67022846 2516: Used in hv.c and mg.c
5648c0ae 2517poM |void |sv_kill_backrefs |NN SV *const sv|NULLOK AV *const av
86f55936
NC
2518#endif
2519
579333ee
FC
2520#if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
2521pR |SV * |varname |NULLOK const GV *const gv|const char gvtype \
2522 |PADOFFSET targ|NULLOK const SV *const keyname \
1b3df0e6 2523 |SSize_t aindex|int subscript_type
579333ee
FC
2524#endif
2525
4c74a7df 2526pX |void |sv_del_backref |NN SV *const tsv|NN SV *const sv
43869a0c 2527#if defined(PERL_IN_SV_C)
5de3775c 2528nsR |char * |uiv_2buf |NN char *const buf|const IV iv|UV uv|const int is_uv|NN char **const peob
0b754184 2529i |void |sv_unglob |NN SV *const sv|U32 flags
3f7602fa 2530s |const char *|sv_display |NN SV *const sv|NN char *tmpbuf|STRLEN tmpbuf_size
aad570aa 2531s |void |not_a_number |NN SV *const sv
3f7602fa 2532s |void |not_incrementable |NN SV *const sv
de37a194 2533s |I32 |visit |NN SVFUNC_t f|const U32 flags|const U32 mask
94bdecf9 2534# ifdef DEBUGGING
46c461b5 2535s |void |del_sv |NN SV *p
94bdecf9
JH
2536# endif
2537# if !defined(NV_PRESERVES_UV)
47031da6 2538# ifdef DEBUGGING
5de3775c 2539s |int |sv_2iuv_non_preserve |NN SV *const sv|I32 numtype
47031da6 2540# else
5de3775c 2541s |int |sv_2iuv_non_preserve |NN SV *const sv
47031da6 2542# endif
94bdecf9 2543# endif
66ceb532 2544sR |I32 |expect_number |NN char **const pattern
721e86b6 2545sn |STRLEN |sv_pos_u2b_forwards|NN const U8 *const start \
79d2d448
NC
2546 |NN const U8 *const send|NN STRLEN *const uoffset \
2547 |NN bool *const at_end
721e86b6 2548sn |STRLEN |sv_pos_u2b_midway|NN const U8 *const start \
503752a1 2549 |NN const U8 *send|STRLEN uoffset|const STRLEN uend
af828c01 2550s |STRLEN |sv_pos_u2b_cached|NN SV *const sv|NN MAGIC **const mgp \
25a8a4ef 2551 |NN const U8 *const start|NN const U8 *const send \
3e2d3818 2552 |STRLEN uoffset|STRLEN uoffset0|STRLEN boffset0
ec49a12c
NC
2553s |void |utf8_mg_len_cache_update|NN SV *const sv|NN MAGIC **const mgp \
2554 |const STRLEN ulen
ac1e9476
SS
2555s |void |utf8_mg_pos_cache_update|NN SV *const sv|NN MAGIC **const mgp \
2556 |const STRLEN byte|const STRLEN utf8|const STRLEN blen
2557s |STRLEN |sv_pos_b2u_midway|NN const U8 *const s|NN const U8 *const target \
25a8a4ef 2558 |NN const U8 *end|STRLEN endu
9df83ffd
NC
2559s |void |assert_uft8_cache_coherent|NN const char *const func \
2560 |STRLEN from_cache|STRLEN real|NN SV *const sv
66ceb532 2561sn |char * |F0convert |NV nv|NN char *const endbuf|NN STRLEN *const len
5f66b61c 2562s |SV * |more_sv
5de3775c 2563s |bool |sv_2iuv_common |NN SV *const sv
7bc54cea
SS
2564s |void |glob_assign_glob|NN SV *const dstr|NN SV *const sstr \
2565 |const int dtype
1eb6e4ca 2566sRn |PTR_TBL_ENT_t *|ptr_table_find|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
803f2748 2567s |void |anonymise_cv_maybe |NN GV *gv|NN CV *cv
94bdecf9
JH
2568#endif
2569
ecf9cdab
NC
2570: Used in sv.c and hv.c
2571po |void * |more_bodies |const svtype sv_type|const size_t body_size \
2572 |const size_t arena_size
2573
43869a0c 2574#if defined(PERL_IN_TOKE_C)
94bdecf9
JH
2575s |void |check_uni
2576s |void |force_next |I32 type
4048f010 2577s |char* |force_version |NN char *s|int guessing
91152fc1 2578s |char* |force_strict_version |NN char *s
46c461b5 2579s |char* |force_word |NN char *start|int token|int check_keyword \
345b3785 2580 |int allow_pack
46c461b5 2581s |SV* |tokeq |NN SV *sv
46c461b5 2582sR |char* |scan_const |NN char *start
6f613c73
KW
2583iR |SV* |get_and_check_backslash_N_name|NN const char* s \
2584 |NN const char* const e
46c461b5
AL
2585sR |char* |scan_formline |NN char *s
2586sR |char* |scan_heredoc |NN char *s
b5248d1e 2587s |char* |scan_ident |NN char *s|NN char *dest \
94bdecf9 2588 |STRLEN destlen|I32 ck_uni
46c461b5
AL
2589sR |char* |scan_inputsymbol|NN char *start
2590sR |char* |scan_pat |NN char *start|I32 type
d24ca0c5 2591sR |char* |scan_str |NN char *start|int keep_quoted \
4d68ffa0 2592 |int keep_delims|int re_reparse \
e68dd03a 2593 |NULLOK char **delimp
46c461b5
AL
2594sR |char* |scan_subst |NN char *start
2595sR |char* |scan_trans |NN char *start
2596s |char* |scan_word |NN char *s|NN char *dest|STRLEN destlen \
2597 |int allow_package|NN STRLEN *slp
5fa550fb 2598s |void |update_debugger_info|NULLOK SV *orig_sv \
15f169a1 2599 |NULLOK const char *const buf|STRLEN len
21791330 2600sR |char* |skipspace_flags|NN char *s|U32 flags
46c461b5 2601sR |char* |swallow_bom |NN U8 *s
a28af015
NC
2602#ifndef PERL_NO_UTF16_FILTER
2603s |I32 |utf16_textfilter|int idx|NN SV *sv|int maxlen
81a923f4 2604s |U8* |add_utf16_textfilter|NN U8 *const s|bool reversed
a28af015 2605#endif
c94115d8
NC
2606s |void |checkcomma |NN const char *s|NN const char *name \
2607 |NN const char *what
46c461b5 2608s |void |force_ident |NN const char *s|int kind
3f33d153 2609s |void |force_ident_maybe_lex|char pit
d9095cec 2610s |void |incline |NN const char *s
10c25cd9 2611s |int |intuit_method |NN char *s|NULLOK SV *ioname|NULLOK CV *cv
46c461b5 2612s |int |intuit_more |NN char *s
11288bb3 2613s |I32 |lop |I32 f|U8 x|NN char *s
46c461b5 2614rs |void |missingterm |NULLOK char *s
15f169a1 2615s |void |no_op |NN const char *const what|NULLOK char *s
49fb8620 2616s |int |pending_ident
46c461b5
AL
2617sR |I32 |sublex_done
2618sR |I32 |sublex_push
2619sR |I32 |sublex_start
5cc814fd 2620sR |char * |filter_gets |NN SV *sv|STRLEN append
9bde8eb0 2621sR |HV * |find_in_my_stash|NN const char *pkgname|STRLEN len
c48640ec 2622sR |char * |tokenize_use |int is_use|NN char *s
eb0d8d16
NC
2623so |SV* |new_constant |NULLOK const char *s|STRLEN len \
2624 |NN const char *key|STRLEN keylen|NN SV *sv \
2625 |NULLOK SV *pv|NULLOK const char *type \
2626 |STRLEN typelen
8290c323 2627s |int |deprecate_commaless_var_list
94bdecf9 2628s |int |ao |int toketype
e950ecba 2629s |void|parse_ident|NN char **s|NN char **d \
07f72646 2630 |NN char * const e|int allow_package \
d9d2b74c 2631 |bool is_utf8|bool check_dollar
94bdecf9 2632# if defined(PERL_CR_FILTER)
9d4ba2ae 2633s |I32 |cr_textfilter |int idx|NULLOK SV *sv|int maxlen
0bd48802 2634s |void |strip_return |NN SV *sv
94bdecf9 2635# endif
c445ea15 2636# if defined(DEBUGGING)
704d4215 2637s |int |tokereport |I32 rv|NN const YYSTYPE* lvalp
5d37acd6 2638sf |void |printbuf |NN const char *const fmt|NN const char *const s
c445ea15 2639# endif
94bdecf9 2640#endif
fe788d6b 2641EXMp |bool |validate_proto |NN SV *name|NULLOK SV *proto|bool warn
94bdecf9 2642
43869a0c 2643#if defined(PERL_IN_UNIVERSAL_C)
c8028aa6 2644s |bool |isa_lookup |NN HV *stash|NN const char * const name \
c7abbf64 2645 |STRLEN len|U32 flags
94bdecf9
JH
2646#endif
2647
9f162648
JH
2648#if defined(USE_LOCALE) && defined(PERL_IN_LOCALE_C)
2649s |char* |stdize_locale |NN char* locs
c7202dee
KW
2650# ifdef DEBUGGING
2651s |void |print_collxfrm_input_and_return \
2652 |NN const char * const s \
2653 |NN const char * const e \
2654 |NULLOK const STRLEN * const xlen \
2655 |const bool is_utf8
2656# endif
9f162648
JH
2657#endif
2658
c1284011
KW
2659#if defined(USE_LOCALE) \
2660 && (defined(PERL_IN_LOCALE_C) || defined (PERL_EXT_POSIX))
c1284011 2661ApM |bool |_is_cur_LC_category_utf8|int category
5d1187d1 2662# ifdef DEBUGGING
a62e8919 2663AMnpR |char * |_setlocale_debug_string|const int category \
5d1187d1
KW
2664 |NULLOK const char* const locale \
2665 |NULLOK const char* const retval
2666# endif
94bdecf9
JH
2667#endif
2668
5d1187d1 2669
43869a0c 2670#if defined(PERL_IN_UTIL_C)
94bdecf9 2671s |SV* |mess_alloc
c8028aa6 2672s |SV * |with_queued_errors|NN SV *ex
c5df3096 2673s |bool |invoke_exception_hook|NULLOK SV *ex|bool warn
73d1d973 2674#if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
0b0ab801 2675sn |void |mem_log_common |enum mem_log_type mlt|const UV n|const UV typesize \
bef8a128 2676 |NN const char *type_name|NULLOK const SV *sv \
0b0ab801
MHM
2677 |Malloc_t oldalloc|Malloc_t newalloc \
2678 |NN const char *filename|const int linenumber \
2679 |NN const char *funcname
2680#endif
94bdecf9
JH
2681#endif
2682
6fb87544
MH
2683#if defined(PERL_MEM_LOG)
2684pn |Malloc_t |mem_log_alloc |const UV nconst|UV typesize|NN const char *type_name|Malloc_t newalloc|NN const char *filename|const int linenumber|NN const char *funcname
2685pn |Malloc_t |mem_log_realloc |const UV n|const UV typesize|NN const char *type_name|Malloc_t oldalloc|Malloc_t newalloc|NN const char *filename|const int linenumber|NN const char *funcname
2686pn |Malloc_t |mem_log_free |Malloc_t oldalloc|NN const char *filename|const int linenumber|NN const char *funcname
2687#endif
2688
43869a0c 2689#if defined(PERL_IN_NUMERIC_C)
a4eca1d4 2690#ifndef USE_QUADMATH
4801ca72
JH
2691sn |NV|mulexp10 |NV value|I32 exponent
2692#endif
a4eca1d4 2693#endif
4801ca72 2694
43869a0c 2695#if defined(PERL_IN_UTF8_C)
ab0b796c 2696sRM |UV |check_locale_boundary_crossing \
ab0b796c
KW
2697 |NN const U8* const p \
2698 |const UV result \
2699 |NN U8* const ustrp \
2700 |NN STRLEN *lenp
f25ce844 2701iR |bool |is_utf8_common |NN const U8 *const p|NN SV **swash|NN const char * const swashname|NULLOK SV* const invlist
b0e3252e 2702sR |SV* |swatch_get |NN SV* swash|UV start|UV span
95543e92
KW
2703sRM |U8* |swash_scan_list_line|NN U8* l|NN U8* const lend|NN UV* min \
2704 |NN UV* max|NN UV* val|const bool wants_value \
2705 |NN const U8* const typestr
646ca15d
JH
2706#endif
2707
a4570f51 2708#ifndef PERL_NO_INLINE_FUNCTIONS
55d09dc8 2709AiMn |void |append_utf8_from_native_byte|const U8 byte|NN U8** dest
a4570f51 2710#endif
55d09dc8 2711
e03e82a0 2712Apd |void |sv_set_undef |NN SV *sv
7bc54cea 2713Apd |void |sv_setsv_flags |NN SV *dstr|NULLOK SV *sstr|const I32 flags
2e000ff2
SS
2714Apd |void |sv_catpvn_flags|NN SV *const dstr|NN const char *sstr|const STRLEN len \
2715 |const I32 flags
9dcc53ea
Z
2716Apd |void |sv_catpv_flags |NN SV *dstr|NN const char *sstr \
2717 |const I32 flags
2e000ff2 2718Apd |void |sv_catsv_flags |NN SV *const dsv|NULLOK SV *const ssv|const I32 flags
b3ab6785 2719Apmd |STRLEN |sv_utf8_upgrade_flags|NN SV *const sv|const I32 flags
ed6f739c 2720Ap |STRLEN |sv_utf8_upgrade_flags_grow|NN SV *const sv|const I32 flags|STRLEN extra
12964ddd 2721Apd |char* |sv_pvn_force_flags|NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
0b1d8e2d 2722Apmb |void |sv_copypv |NN SV *const dsv|NN SV *const ssv
4bac9ae4
CS
2723Apmd |void |sv_copypv_nomg |NN SV *const dsv|NN SV *const ssv
2724Apd |void |sv_copypv_flags |NN SV *const dsv|NN SV *const ssv|const I32 flags
4373e329 2725Ap |char* |my_atof2 |NN const char *s|NN NV* value
94bdecf9 2726Apn |int |my_socketpair |int family|int type|int protocol|int fd[2]
ddeaf645 2727Apn |int |my_dirfd |NULLOK DIR* dir
db2c6cb3 2728#ifdef PERL_ANY_COW
67022846 2729: Used in pp_hot.c and regexec.c
7536ed57 2730pMXE |SV* |sv_setsv_cow |NULLOK SV* dstr|NN SV* sstr
ed252734 2731#endif
94bdecf9 2732
d070ff45 2733Aop |const char *|PerlIO_context_layers|NULLOK const char *mode
11bcd5da 2734
97cb92d6 2735#if defined(USE_PERLIO)
46c461b5
AL
2736Ap |int |PerlIO_close |NULLOK PerlIO *f
2737Ap |int |PerlIO_fill |NULLOK PerlIO *f
2738Ap |int |PerlIO_fileno |NULLOK PerlIO *f
2739Ap |int |PerlIO_eof |NULLOK PerlIO *f
2740Ap |int |PerlIO_error |NULLOK PerlIO *f
2741Ap |int |PerlIO_flush |NULLOK PerlIO *f
2742Ap |void |PerlIO_clearerr |NULLOK PerlIO *f
b66f3475 2743Ap |void |PerlIO_set_cnt |NULLOK PerlIO *f|SSize_t cnt
3d4dd4c7 2744Ap |void |PerlIO_set_ptrcnt |NULLOK PerlIO *f|NULLOK STDCHAR *ptr \
b66f3475 2745 |SSize_t cnt
46c461b5 2746Ap |void |PerlIO_setlinebuf |NULLOK PerlIO *f
4048f010
NC
2747Ap |SSize_t|PerlIO_read |NULLOK PerlIO *f|NN void *vbuf \
2748 |Size_t count
2749Ap |SSize_t|PerlIO_write |NULLOK PerlIO *f|NN const void *vbuf \
2750 |Size_t count
2751Ap |SSize_t|PerlIO_unread |NULLOK PerlIO *f|NN const void *vbuf \
2752 |Size_t count
46c461b5
AL
2753Ap |Off_t |PerlIO_tell |NULLOK PerlIO *f
2754Ap |int |PerlIO_seek |NULLOK PerlIO *f|Off_t offset|int whence
0ea86a10
FC
2755Xp |void |PerlIO_save_errno |NULLOK PerlIO *f
2756Xp |void |PerlIO_restore_errno |NULLOK PerlIO *f
94bdecf9 2757
46c461b5
AL
2758Ap |STDCHAR *|PerlIO_get_base |NULLOK PerlIO *f
2759Ap |STDCHAR *|PerlIO_get_ptr |NULLOK PerlIO *f
b66f3475
LT
2760ApR |SSize_t |PerlIO_get_bufsiz |NULLOK PerlIO *f
2761ApR |SSize_t |PerlIO_get_cnt |NULLOK PerlIO *f
94bdecf9 2762
46c461b5
AL
2763ApR |PerlIO *|PerlIO_stdin
2764ApR |PerlIO *|PerlIO_stdout
2765ApR |PerlIO *|PerlIO_stderr
57630fb6 2766#endif /* USE_PERLIO */
94bdecf9 2767
67022846 2768: Only used in dump.c
d6721266 2769p |void |deb_stack_all
43869a0c 2770#if defined(PERL_IN_DEB_C)
b64e5050 2771s |void |deb_stack_n |NN SV** stack_base|I32 stack_min \
3f46c5a6 2772 |I32 stack_max|I32 mark_min|I32 mark_max
d6721266
DM
2773#endif
2774
cc76b5cc 2775: pad API
346c6a29 2776ApdR |PADLIST*|pad_new |int flags
eacbb379 2777#ifdef DEBUGGING
e69651e7 2778pnX |void|set_padlist| NN CV * cv | NULLOK PADLIST * padlist
eacbb379 2779#endif
cc76b5cc 2780#if defined(PERL_IN_PAD_C)
e1c02f84 2781s |PADOFFSET|pad_alloc_name|NN PADNAME *name|U32 flags \
cc76b5cc
Z
2782 |NULLOK HV *typestash|NULLOK HV *ourstash
2783#endif
2784Apd |PADOFFSET|pad_add_name_pvn|NN const char *namepv|STRLEN namelen\
0e1b3a4b 2785 |U32 flags|NULLOK HV *typestash\
cca43f78 2786 |NULLOK HV *ourstash
cc76b5cc
Z
2787Apd |PADOFFSET|pad_add_name_pv|NN const char *name\
2788 |const U32 flags|NULLOK HV *typestash\
2789 |NULLOK HV *ourstash
2790Apd |PADOFFSET|pad_add_name_sv|NN SV *name\
0e1b3a4b 2791 |U32 flags|NULLOK HV *typestash\
cc76b5cc
Z
2792 |NULLOK HV *ourstash
2793AMpd |PADOFFSET|pad_alloc |I32 optype|U32 tmptype
2794Apd |PADOFFSET|pad_add_anon |NN CV* func|I32 optype
a70f21d0 2795p |void |pad_add_weakref|NN CV* func
43869a0c 2796#if defined(PERL_IN_PAD_C)
e1c02f84
FC
2797sd |void |pad_check_dup |NN PADNAME *name|U32 flags \
2798 |NULLOK const HV *ourstash
cc76b5cc 2799#endif
402642c6 2800Apd |PADOFFSET|pad_findmy_pvn|NN const char* namepv|STRLEN namelen|U32 flags
2d7dd515
Z
2801Apd |PADOFFSET|pad_findmy_pv|NN const char* name|U32 flags
2802Apd |PADOFFSET|pad_findmy_sv|NN SV* name|U32 flags
cc76b5cc
Z
2803ApdD |PADOFFSET|find_rundefsvoffset |
2804Apd |SV* |find_rundefsv |
2805#if defined(PERL_IN_PAD_C)
fbb889c8 2806sd |PADOFFSET|pad_findlex |NN const char *namepv|STRLEN namelen|U32 flags \
cc76b5cc 2807 |NN const CV* cv|U32 seq|int warn \
e1c02f84
FC
2808 |NULLOK SV** out_capture \
2809 |NN PADNAME** out_name|NN int *out_flags
73b81b14 2810#endif
dd2155a4 2811#ifdef DEBUGGING
cc76b5cc
Z
2812Apd |SV* |pad_sv |PADOFFSET po
2813Apd |void |pad_setsv |PADOFFSET po|NN SV* sv
dd2155a4
DM
2814#endif
2815pd |void |pad_block_start|int full
25f5d540 2816Apd |U32 |intro_my
6d5c2147 2817pd |OP * |pad_leavemy
cc76b5cc
Z
2818pd |void |pad_swipe |PADOFFSET po|bool refadjust
2819#if defined(PERL_IN_PAD_C)
2820sd |void |pad_reset
d5b1589c 2821#endif
cc76b5cc
Z
2822AMpd |void |pad_tidy |padtidy_type type
2823pd |void |pad_free |PADOFFSET po
e950ecba 2824pd |void |do_dump_pad |I32 level|NN PerlIO *file|NULLOK PADLIST *padlist|int full
43869a0c 2825#if defined(PERL_IN_PAD_C)
dd2155a4 2826# if defined(DEBUGGING)
66a1b24b 2827sd |void |cv_dump |NN const CV *cv|NN const char *title
dd2155a4 2828# endif
dd2155a4 2829#endif
cc76b5cc 2830Apd |CV* |cv_clone |NN CV* proto
a35cc1c1 2831p |CV* |cv_clone_into |NN CV* proto|NN CV *target
cc76b5cc
Z
2832pd |void |pad_fixup_inner_anons|NN PADLIST *padlist|NN CV *old_cv|NN CV *new_cv
2833pdX |void |pad_push |NN PADLIST *padlist|int depth
09d7a3ba 2834ApbdR |HV* |pad_compname_type|const PADOFFSET po
a0e9f837 2835AMpdRn |PADNAME *|padnamelist_fetch|NN PADNAMELIST *pnl|SSize_t key
9b7476d7
FC
2836Xop |void |padnamelist_free|NN PADNAMELIST *pnl
2837AMpd |PADNAME **|padnamelist_store|NN PADNAMELIST *pnl|SSize_t key \
2838 |NULLOK PADNAME *val
0f94cb1f 2839Xop |void |padname_free |NN PADNAME *pn
cc76b5cc 2840#if defined(USE_ITHREADS)
0f94cb1f 2841pdR |PADNAME *|padname_dup |NN PADNAME *src|NN CLONE_PARAMS *param
9b7476d7
FC
2842pR |PADNAMELIST *|padnamelist_dup|NN PADNAMELIST *srcpad \
2843 |NN CLONE_PARAMS *param
eacbb379 2844pdR |PADLIST *|padlist_dup |NN PADLIST *srcpad \
b70d5558 2845 |NN CLONE_PARAMS *param
cc76b5cc 2846#endif
7261499d
FC
2847p |PAD ** |padlist_store |NN PADLIST *padlist|I32 key \
2848 |NULLOK PAD *val
cc76b5cc 2849
daad78fc 2850ApdR |CV* |find_runcv |NULLOK U32 *db_seqp
db4cf31d 2851pR |CV* |find_runcv_where|U8 cond|IV arg \
70794f7b 2852 |NULLOK U32 *db_seqp
67022846 2853: Only used in perl.c
dd28f7bb 2854p |void |free_tied_hv_pool
b4ab917c 2855#if defined(DEBUGGING)
67022846 2856: Used in mg.c
46c461b5 2857pR |int |get_debug_opts |NN const char **s|bool givehelp
b4ab917c 2858#endif
4048f010 2859Ap |void |save_set_svflags|NN SV *sv|U32 mask|U32 val
ed760897 2860#ifdef DEBUGGING
4048f010 2861Apod |void |hv_assert |NN HV *hv
ed760897 2862#endif
d6721266 2863
4048f010 2864ApdR |SV* |hv_scalar |NN HV *hv
1164fd15 2865ApdRM |SV* |hv_bucket_ratio|NN HV *hv
4048f010
NC
2866ApoR |I32* |hv_riter_p |NN HV *hv
2867ApoR |HE** |hv_eiter_p |NN HV *hv
2868Apo |void |hv_riter_set |NN HV *hv|I32 riter
2869Apo |void |hv_eiter_set |NN HV *hv|NULLOK HE *eiter
e950ecba 2870Ap |void |hv_rand_set |NN HV *hv|U32 new_xhv_rand
4048f010 2871Ap |void |hv_name_set |NN HV *hv|NULLOK const char *name|U32 len|U32 flags
27a1175b
FC
2872p |void |hv_ename_add |NN HV *hv|NN const char *name|U32 len \
2873 |U32 flags
2874p |void |hv_ename_delete|NN HV *hv|NN const char *name|U32 len \
2875 |U32 flags
67022846 2876: Used in dump.c and hv.c
eaab5649 2877poM |AV** |hv_backreferences_p |NN HV *hv
764ff8a9 2878#if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
09aad8f0
DM
2879poM |void |hv_kill_backrefs |NN HV *hv
2880#endif
4048f010 2881Apd |void |hv_clear_placeholders |NN HV *hv
6174b39a 2882XpoR |SSize_t*|hv_placeholders_p |NN HV *hv
0c289d13 2883ApoR |I32 |hv_placeholders_get |NN const HV *hv
4048f010 2884Apo |void |hv_placeholders_set |NN HV *hv|I32 ph
ca732855 2885
67022846 2886: This is indirectly referenced by globals.c. This is somewhat annoying.
4048f010 2887p |SV* |magic_scalarpack|NN HV *hv|NN MAGIC *mg
10edeb5d 2888
43869a0c 2889#if defined(PERL_IN_SV_C)
6c1b357c
NC
2890s |SV * |find_hash_subscript|NULLOK const HV *const hv \
2891 |NN const SV *const val
1b3df0e6 2892s |SSize_t|find_array_subscript|NULLOK const AV *const av \
6c1b357c
NC
2893 |NN const SV *const val
2894sMd |SV* |find_uninit_var|NULLOK const OP *const obase \
fedf30e1
DM
2895 |NULLOK const SV *const uninit_sv|bool match \
2896 |NN const char **desc_p
29489e7c 2897#endif
96adfaa1 2898
fe9845cc
RB
2899Ap |GV* |gv_fetchpvn_flags|NN const char* name|STRLEN len|I32 flags|const svtype sv_type
2900Ap |GV* |gv_fetchsv|NN SV *name|I32 flags|const svtype sv_type
7a5fd60d 2901
41e4abd8 2902#ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
67022846 2903: Used in sv.c
46c461b5 2904p |void |dump_sv_child |NN SV *sv
41e4abd8
NC
2905#endif
2906
c69033f2 2907#ifdef PERL_DONT_CREATE_GVSV
bb85b28a 2908Apbm |GV* |gv_SVadd |NULLOK GV *gv
c69033f2 2909#endif
43869a0c 2910#if defined(PERL_IN_UTIL_C)
26c7b074
NC
2911s |bool |ckwarn_common |U32 w
2912#endif
9bd8fe79
SH
2913Apo |bool |ckwarn |U32 w
2914Apo |bool |ckwarn_d |U32 w
d67fec57 2915: FIXME - exported for ByteLoader - public or private?
346c6a29 2916XEopMR |STRLEN *|new_warnings_bitfield|NULLOK STRLEN *buffer \
72dc9ed5 2917 |NN const char *const bits|STRLEN size
c69033f2 2918
ce582cee
NC
2919#ifndef SPRINTF_RETURNS_STRLEN
2920Apnod |int |my_sprintf |NN char *buffer|NN const char *pat|...
2921#endif
2922
fbbee507 2923Apnodf |int |my_snprintf |NN char *buffer|const Size_t len|NN const char *format|...
d9fad198 2924Apnod |int |my_vsnprintf |NN char *buffer|const Size_t len|NN const char *format|va_list ap
a4eca1d4
JH
2925#ifdef USE_QUADMATH
2926Apnd |const char* |quadmath_format_single|NN const char* format
2927Apnd |bool|quadmath_format_needed|NN const char* format
2928#endif
d9fad198 2929
67022846 2930: Used in mg.c, sv.c
b0269e46
AB
2931px |void |my_clearenv
2932
f16dd614 2933#ifdef PERL_IMPLICIT_CONTEXT
53d44271
JH
2934#ifdef PERL_GLOBAL_STRUCT_PRIVATE
2935Apo |void* |my_cxt_init |NN const char *my_cxt_key|size_t size
2936Apo |int |my_cxt_index |NN const char *my_cxt_key
2937#else
e3343589 2938Apo |void* |my_cxt_init |NN int *index|size_t size
f16dd614 2939#endif
53d44271 2940#endif
071d040c 2941#if defined(PERL_IN_UTIL_C)
672cbd15 2942so |void |xs_version_bootcheck|U32 items|U32 ax|NN const char *xs_p \
e9b067d9 2943 |STRLEN xs_len
071d040c 2944#endif
9a189793
DD
2945Xpon |I32 |xs_handshake |const U32 key|NN void * v_my_perl\
2946 |NN const char * file| ...
b01a1eea 2947Xp |void |xs_boot_epilog |const I32 ax
a6cc4119 2948#ifndef HAS_STRLCAT
f46a3253 2949Apnod |Size_t |my_strlcat |NULLOK char *dst|NULLOK const char *src|Size_t size
a6cc4119
SP
2950#endif
2951
2952#ifndef HAS_STRLCPY
e950ecba 2953Apnod |Size_t |my_strlcpy |NULLOK char *dst|NULLOK const char *src|Size_t size
a6cc4119
SP
2954#endif
2955
181a2ba1 2956Apdn |bool |isinfnan |NV nv
354b74ae 2957p |bool |isinfnansv |NN SV *sv
1cd88304 2958
ed140128
AD
2959#if !defined(HAS_SIGNBIT)
2960AMdnoP |int |Perl_signbit |NV f
2961#endif
f16dd614 2962
d67fec57 2963: Used by B
8b850bd5 2964XEMop |void |emulate_cop_io |NN const COP *const c|NN SV *const sv
d67fec57 2965: Used by SvRX and SvRXOK
f7e71195 2966XEMop |REGEXP *|get_re_arg|NULLOK SV *sv
8b850bd5 2967
fa60396f
NC
2968Aop |SV* |mro_get_private_data|NN struct mro_meta *const smeta \
2969 |NN const struct mro_alg *const which
2970Aop |SV* |mro_set_private_data|NN struct mro_meta *const smeta \
2971 |NN const struct mro_alg *const which \
2972 |NN SV *const data
a3e6e81e
NC
2973Aop |const struct mro_alg *|mro_get_from_name|NN SV *name
2974Aop |void |mro_register |NN const struct mro_alg *mro
31b9005d
NC
2975Aop |void |mro_set_mro |NN struct mro_meta *const meta \
2976 |NN SV *const name
c60bad7b
NC
2977: Used in HvMROMETA(), which is public.
2978Xpo |struct mro_meta* |mro_meta_init |NN HV* stash
47c9dd14 2979#if defined(USE_ITHREADS)
67022846 2980: Only used in sv.c
47c9dd14
BB
2981p |struct mro_meta* |mro_meta_dup |NN struct mro_meta* smeta|NN CLONE_PARAMS* param
2982#endif
2983Apd |AV* |mro_get_linear_isa|NN HV* stash
43869a0c 2984#if defined(PERL_IN_MRO_C)
94d1e706 2985sd |AV* |mro_get_linear_isa_dfs|NN HV* stash|U32 level
80ebaca2
FC
2986s |void |mro_clean_isarev|NN HV * const isa \
2987 |NN const char * const name \
2988 |const STRLEN len \
3386c920
FC
2989 |NULLOK HV * const exceptions \
2990 |U32 hash|U32 flags
80ebaca2 2991s |void |mro_gather_and_rename|NN HV * const stashes \
b89cdb22 2992 |NN HV * const seen_stashes \
80ebaca2
FC
2993 |NULLOK HV *stash \
2994 |NULLOK HV *oldstash \
d7879cf0 2995 |NN SV *namesv
4befac30 2996#endif
67022846 2997: Used in hv.c, mg.c, pp.c, sv.c
4df35a07 2998pd |void |mro_isa_changed_in|NN HV* stash
47c9dd14 2999Apd |void |mro_method_changed_in |NN HV* stash
afdbe55d 3000pdx |void |mro_package_moved |NULLOK HV * const stash|NULLOK HV * const oldstash|NN const GV * const gv|U32 flags
67022846 3001: Only used in perl.c
47c9dd14 3002p |void |boot_core_mro
cbec8ebe
DM
3003Apon |void |sys_init |NN int* argc|NN char*** argv
3004Apon |void |sys_init3 |NN int* argc|NN char*** argv|NN char*** env
d0820ef1 3005Apon |void |sys_term
aebc0cbe 3006ApoM |const char *|cop_fetch_label|NN COP *const cop \
dca6062a 3007 |NULLOK STRLEN *len|NULLOK U32 *flags
8375c93e 3008: Only used in op.c and the perl compiler
aebc0cbe 3009ApoM |void|cop_store_label \
ce42d03d 3010 |NN COP *const cop|NN const char *label|STRLEN len|U32 flags
47c9dd14 3011
88e1f1a2
JV
3012xpo |int |keyword_plugin_standard|NN char* keyword_ptr|STRLEN keyword_len|NN OP** op_ptr
3013
f7abe70b 3014#if defined(USE_ITHREADS)
43869a0c 3015# if defined(PERL_IN_SV_C)
e4295668
NC
3016s |void |unreferenced_to_tmp_stack|NN AV *const unreferenced
3017# endif
346c6a29 3018ARnop |CLONE_PARAMS *|clone_params_new|NN PerlInterpreter *const from \
f7abe70b
NC
3019 |NN PerlInterpreter *const to
3020Anop |void |clone_params_del|NN CLONE_PARAMS *param
3021#endif
74e8ce34
NC
3022
3023: Used in perl.c and toke.c
3024op |void |populate_isa |NN const char *name|STRLEN len|...
3025
26ea9e12 3026: Used in keywords.c and toke.c
7d69d4a6 3027Xop |bool |feature_is_enabled|NN const char *const name \
3fff3427 3028 |STRLEN namelen
26ea9e12 3029
25fdce4a
FC
3030: Some static inline functions need predeclaration because they are used
3031: inside other static inline functions.
c47d1a66 3032#if defined(PERL_CORE) || defined (PERL_EXT)
25fdce4a
FC
3033Ei |STRLEN |sv_or_pv_pos_u2b|NN SV *sv|NN const char *pv|STRLEN pos \
3034 |NULLOK STRLEN *lenp
c47d1a66 3035#endif
25fdce4a 3036
a73d8813 3037Ap |void |clear_defarray |NN AV* av|bool abandon
ad2de1b2 3038
e02ce34b 3039ApM |void |leave_adjust_stacks|NN SV **from_sp|NN SV **to_sp \
1c23e2bd 3040 |U8 gimme|int filter
799da9d7 3041
ed8ff0f3
DM
3042#ifndef PERL_NO_INLINE_FUNCTIONS
3043AiM |PERL_CONTEXT * |cx_pushblock|U8 type|U8 gimme|NN SV** sp|I32 saveix
3044AiM |void |cx_popblock|NN PERL_CONTEXT *cx
3045AiM |void |cx_topblock|NN PERL_CONTEXT *cx
6a7d52cc
DM
3046AiM |void |cx_pushsub |NN PERL_CONTEXT *cx|NN CV *cv \
3047 |NULLOK OP *retop|bool hasargs
a73d8813
DM
3048AiM |void |cx_popsub_common|NN PERL_CONTEXT *cx
3049AiM |void |cx_popsub_args |NN PERL_CONTEXT *cx
3050AiM |void |cx_popsub |NN PERL_CONTEXT *cx
6a7d52cc
DM
3051AiM |void |cx_pushformat |NN PERL_CONTEXT *cx|NN CV *cv \
3052 |NULLOK OP *retop|NULLOK GV *gv
3053AiM |void |cx_popformat |NN PERL_CONTEXT *cx
13febba5
DM
3054AiM |void |cx_pusheval |NN PERL_CONTEXT *cx \
3055 |NULLOK OP *retop|NULLOK SV *namesv
3056AiM |void |cx_popeval |NN PERL_CONTEXT *cx
d1b6bf72
DM
3057AiM |void |cx_pushloop_plain|NN PERL_CONTEXT *cx
3058AiM |void |cx_pushloop_for |NN PERL_CONTEXT *cx \
3059 |NN void *itervarp|NULLOK SV *itersave
3060AiM |void |cx_poploop |NN PERL_CONTEXT *cx
2a7b7c61
DM
3061AiM |void |cx_pushwhen |NN PERL_CONTEXT *cx
3062AiM |void |cx_popwhen |NN PERL_CONTEXT *cx
3063AiM |void |cx_pushgiven |NN PERL_CONTEXT *cx|NULLOK SV *orig_defsv
3064AiM |void |cx_popgiven |NN PERL_CONTEXT *cx
ed8ff0f3
DM
3065#endif
3066
3f6bd23a 3067#ifdef USE_DTRACE
e950ecba
KW
3068XEop |void |dtrace_probe_call |NN CV *cv|bool is_call
3069XEop |void |dtrace_probe_load |NN const char *name|bool is_loading
3070XEop |void |dtrace_probe_op |NN const OP *op
3071XEop |void |dtrace_probe_phase|enum perl_phase phase
3f6bd23a
DM
3072#endif
3073
b2ba7ad6 3074: ex: set ts=8 sts=4 sw=4 noet: