This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ywarn() is actually only used inside toke.c, so it can be static.
[perl5.git] / embed.fnc
CommitLineData
5a51db05
NC
1: BEGIN {die "You meant to run embed.pl"} # Stop early if fed to perl.
2:
94bdecf9
JH
3: Lines are of the form:
4: flags|return_type|function_name|arg1|arg2|...|argN
5:
6: A line may be continued on another by ending it with a backslash.
7: Leading and trailing whitespace will be ignored in each component.
8:
9: flags are single letters with following meanings:
10: A member of public API
db2b0bab
JH
11: m Implemented as a macro - no export, no
12: proto, no #define
94bdecf9 13: d function has documentation with its source
db2b0bab 14: s static function, should have an S_ prefix in
3c3f4ab8 15: source file; for macros (m), suffix the usage
1aa6ea50 16: example with a semicolon
94bdecf9
JH
17: n has no implicit interpreter/thread context argument
18: p function has a Perl_ prefix
19: f function takes printf style format string, varargs
20: r function never returns
921106c8
PN
21: o has no compatibility macro (#define foo Perl_foo)
22: x not exported
23: X explicitly exported
24: M may change
1b39b470 25: E visible to extensions included in the Perl core
921106c8 26: b binary backward compatibility; function is a macro
db2b0bab 27: but has also Perl_ implementation (which is exported)
3c3f4ab8 28: U suppress usage example in autogenerated documentation
b464bac0
AL
29: a allocates memory a la malloc/calloc. Is also "R".
30: R Return value must not be ignored.
4373e329
AL
31: P pure function: no effects except the return value;
32: return value depends only on parms and/or globals
1aa6ea50 33: (see also L<perlguts/Internal Functions> for those flags.)
4373e329 34:
f54cb97a 35: Pointer parameters that must not be passed NULLs should be prefixed with NN.
94bdecf9 36:
1b6737cc
AL
37: Pointer parameters that may be NULL should be prefixed with NULLOK. This has
38: no effect on output yet. It's a notation for the maintainers to know "I have
39: defined whether NULL is OK or not" rather than having neither NULL or NULLOK,
40: which is ambiguous.
41:
94bdecf9 42: Individual flags may be separated by whitespace.
94bdecf9
JH
43
44START_EXTERN_C
45
46#if defined(PERL_IMPLICIT_SYS)
7827dc65 47Ano |PerlInterpreter*|perl_alloc_using \
4048f010
NC
48 |NN struct IPerlMem *ipM \
49 |NN struct IPerlMem *ipMS \
50 |NN struct IPerlMem *ipMP \
51 |NN struct IPerlEnv *ipE \
52 |NN struct IPerlStdIO *ipStd \
16bf6295 53 |NN struct IPerlLIO *ipLIO \
4048f010
NC
54 |NN struct IPerlDir *ipD \
55 |NN struct IPerlSock *ipS \
56 |NN struct IPerlProc *ipP
94bdecf9
JH
57#endif
58Anod |PerlInterpreter* |perl_alloc
4048f010
NC
59Anod |void |perl_construct |NN PerlInterpreter *my_perl
60Anod |int |perl_destruct |NN PerlInterpreter *my_perl
61Anod |void |perl_free |NN PerlInterpreter *my_perl
62Anod |int |perl_run |NN PerlInterpreter *my_perl
63Anod |int |perl_parse |NN PerlInterpreter *my_perl|XSINIT_t xsinit \
7827dc65
AL
64 |int argc|NULLOK char** argv|NULLOK char** env
65AnpR |bool |doing_taint |int argc|NULLOK char** argv|NULLOK char** env
94bdecf9 66#if defined(USE_ITHREADS)
4048f010 67Anod |PerlInterpreter*|perl_clone|NN PerlInterpreter *proto_perl|UV flags
94bdecf9 68# if defined(PERL_IMPLICIT_SYS)
7827dc65 69Ano |PerlInterpreter*|perl_clone_using \
589df73b
SH
70 |NN PerlInterpreter *proto_perl \
71 |UV flags \
72 |NN struct IPerlMem* ipM \
73 |NN struct IPerlMem* ipMS \
74 |NN struct IPerlMem* ipMP \
75 |NN struct IPerlEnv* ipE \
76 |NN struct IPerlStdIO* ipStd \
77 |NN struct IPerlLIO* ipLIO \
78 |NN struct IPerlDir* ipD \
79 |NN struct IPerlSock* ipS \
80 |NN struct IPerlProc* ipP
94bdecf9
JH
81# endif
82#endif
83
4373e329
AL
84Aanop |Malloc_t|malloc |MEM_SIZE nbytes
85Aanop |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size
86Aanop |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes
94bdecf9
JH
87Anop |Free_t |mfree |Malloc_t where
88#if defined(MYMALLOC)
7827dc65 89npR |MEM_SIZE|malloced_size |NN void *p
64107180 90npR |MEM_SIZE|malloc_good_size |size_t nbytes
94bdecf9
JH
91#endif
92
890ce7af 93AnpR |void* |get_context
9f6cc744 94Anp |void |set_context |NN void *t
94bdecf9
JH
95
96END_EXTERN_C
97
98/* functions with flag 'n' should come before here */
99START_EXTERN_C
100# include "pp_proto.h"
46c461b5 101Ap |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir
890ce7af
AL
102Ap |bool |Gv_AMupdate |NN HV* stash
103ApR |CV* |gv_handler |NULLOK HV* stash|I32 id
104p |OP* |append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last
105p |OP* |append_list |I32 optype|NULLOK LISTOP* first|NULLOK LISTOP* last
106p |I32 |apply |I32 type|NN SV** mark|NN SV** sp
107ApM |void |apply_attrs_string|NN const char *stashpv|NN CV *cv|NN const char *attrstr|STRLEN len
4048f010
NC
108Apd |void |av_clear |NN AV *av
109Apd |SV* |av_delete |NN AV *av|I32 key|I32 flags
110ApdR |bool |av_exists |NN AV *av|I32 key
111Apd |void |av_extend |NN AV *av|I32 key
112pR |AV* |av_fake |I32 size|NN SV **strp
113ApdR |SV** |av_fetch |NN AV *av|I32 key|I32 lval
114Apd |void |av_fill |NN AV *av|I32 fill
bb5dd93d 115ApdR |I32 |av_len |NN AV *av
4048f010
NC
116ApdR |AV* |av_make |I32 size|NN SV **strp
117Apd |SV* |av_pop |NN AV *av
29a861e7 118ApdoxM |void |av_create_and_push|NN AV **const avp|NN SV *const val
4048f010
NC
119Apd |void |av_push |NN AV *av|NN SV *val
120EXp |void |av_reify |NN AV *av
121ApdR |SV* |av_shift |NN AV *av
122Apd |SV** |av_store |NN AV *av|I32 key|NULLOK SV *val
123Apd |void |av_undef |NN AV *av
29a861e7 124ApdoxM |SV** |av_create_and_unshift_one|NN AV **const avp|NN SV *const val
4048f010
NC
125Apd |void |av_unshift |NN AV *av|I32 num
126Apo |SV** |av_arylen_p |NN AV *av
127Apo |IV* |av_iter_p |NN AV *av
878d132a
NC
128#if defined(PERL_IN_AV_C) || defined(PERL_DECL_PROT)
129s |MAGIC* |get_aux_mg |NN AV *av
130#endif
4048f010 131pR |OP* |bind_match |I32 type|NN OP *left|NN OP *right
6472dca1 132pR |OP* |block_end |I32 floor|NULLOK OP* seq
a3b680e6
AL
133ApR |I32 |block_gimme
134pR |int |block_start |int full
94bdecf9
JH
135p |void |boot_core_UNIVERSAL
136p |void |boot_core_PerlIO
4048f010 137Ap |void |call_list |I32 oldscope|NN AV *paramList
ae1951c1 138pR |bool |cando |Mode_t mode|bool effective|NN const Stat_t* statbufp
53c1dcc0
AL
139ApR |U32 |cast_ulong |NV f
140ApR |I32 |cast_i32 |NV f
141ApR |IV |cast_iv |NV f
142ApR |UV |cast_uv |NV f
94bdecf9 143#if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
53c1dcc0 144ApR |I32 |my_chsize |int fd|Off_t length
94bdecf9 145#endif
890ce7af 146pR |OP* |convert |I32 optype|I32 flags|NULLOK OP* o
edb2152a 147pM |PERL_CONTEXT* |create_eval_scope|U32 flags
551405c4 148: croak()'s first parm can be NULL. Otherwise, mod_perl breaks.
cdfeb707 149Afprd |void |croak |NULLOK const char* pat|...
f3dc127a 150Apr |void |vcroak |NULLOK const char* pat|NULLOK va_list* args
afa74d42
NC
151Aprd |void |croak_xs_usage |NN const CV *const cv \
152 |NN const char *const params
153
94bdecf9 154#if defined(PERL_IMPLICIT_CONTEXT)
52a5bfab 155Afnrp |void |croak_nocontext|NULLOK const char* pat|...
890ce7af
AL
156Afnp |OP* |die_nocontext |NN const char* pat|...
157Afnp |void |deb_nocontext |NN const char* pat|...
158Afnp |char* |form_nocontext |NN const char* pat|...
3d4dd4c7 159Anp |void |load_module_nocontext|U32 flags|NN SV* name|NULLOK SV* ver|...
890ce7af
AL
160Afnp |SV* |mess_nocontext |NN const char* pat|...
161Afnp |void |warn_nocontext |NN const char* pat|...
162Afnp |void |warner_nocontext|U32 err|NN const char* pat|...
23f13727 163Afnp |SV* |newSVpvf_nocontext|NN const char *const pat|...
89e38212
SS
164Afnp |void |sv_catpvf_nocontext|NN SV *const sv|NN const char *const pat|...
165Afnp |void |sv_setpvf_nocontext|NN SV *const sv|NN const char *const pat|...
166Afnp |void |sv_catpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
167Afnp |void |sv_setpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
4048f010
NC
168Afnp |int |fprintf_nocontext|NN PerlIO *stream|NN const char *format|...
169Afnp |int |printf_nocontext|NN const char *format|...
94bdecf9 170#endif
cbf82dd0
NC
171p |void |cv_ckproto_len |NN const CV* cv|NULLOK const GV* gv\
172 |NULLOK const char* p|const STRLEN len
4373e329 173pd |CV* |cv_clone |NN CV* proto
62d55b22 174ApdR |SV* |gv_const_sv |NN GV* gv
d45f5b30 175ApdR |SV* |cv_const_sv |NULLOK const CV *const cv
890ce7af
AL
176pR |SV* |op_const_sv |NULLOK const OP* o|NULLOK CV* cv
177Apd |void |cv_undef |NN CV* cv
178Ap |void |cx_dump |NN PERL_CONTEXT* cx
9d4ba2ae 179Ap |SV* |filter_add |NULLOK filter_t funcp|NULLOK SV* datasv
890ce7af 180Ap |void |filter_del |NN filter_t funcp
4048f010 181ApR |I32 |filter_read |int idx|NN SV *buf_sv|int maxlen
a3b680e6
AL
182ApPR |char** |get_op_descs
183ApPR |char** |get_op_names
184pPR |const char* |get_no_modify
185pPR |U32* |get_opargs
186ApPR |PPADDR_t*|get_ppaddr
e655f126 187EXpR |I32 |cxinc
890ce7af 188Afp |void |deb |NN const char* pat|...
aec46f14 189Ap |void |vdeb |NN const char* pat|NULLOK va_list* args
94bdecf9 190Ap |void |debprofdump
4373e329 191Ap |I32 |debop |NN const OP* o
94bdecf9
JH
192Ap |I32 |debstack
193Ap |I32 |debstackptrs
4373e329
AL
194Ap |char* |delimcpy |NN char* to|NN const char* toend|NN const char* from \
195 |NN const char* fromend|int delim|NN I32* retlen
edb2152a 196pM |void |delete_eval_scope
15f169a1
SS
197p |void |deprecate |NN const char *const s
198p |void |deprecate_old |NN const char *const s
cdfeb707 199Afp |OP* |die |NULLOK const char* pat|...
82af08ae 200#if defined(PERL_IN_UTIL_C)
e3cf49e2 201s |OP* |vdie |NULLOK const char* pat|NULLOK va_list* args
82af08ae 202#endif
6472dca1 203p |OP* |die_where |NULLOK const char* message|STRLEN msglen
94bdecf9 204Ap |void |dounwind |I32 cxix
a9f96b3f 205pmb |bool |do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp
5b5cf8d2 206p |bool |do_aexec5 |NULLOK SV* really|NN SV** mark|NN SV** sp|int fd|int do_report
4373e329 207Ap |int |do_binmode |NN PerlIO *fp|int iotype|int mode
4048f010 208p |void |do_chop |NN SV *astr|NN SV *sv
063df69c 209Ap |bool |do_close |NULLOK GV* gv|bool not_implicit
4373e329 210p |bool |do_eof |NN GV* gv
8c654ff2
NC
211
212#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
9555a685 213pmb |bool |do_exec |NN const char* cmd
8c654ff2
NC
214#else
215p |bool |do_exec |NN const char* cmd
216#endif
217
9ec7171b 218#if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
a3e405b2 219Ap |int |do_aspawn |NULLOK SV* really|NN SV** mark|NN SV** sp
890ce7af
AL
220Ap |int |do_spawn |NN char* cmd
221Ap |int |do_spawn_nowait|NN char* cmd
54725af6 222#endif
94bdecf9 223#if !defined(WIN32)
4048f010 224p |bool |do_exec3 |NN const char *incmd|int fd|int do_report
94bdecf9
JH
225#endif
226p |void |do_execfree
a0f2c8ec 227#ifdef PERL_IN_DOIO_C
b1366aaf 228s |void |exec_failed |NN const char *cmd|int fd|int do_report
a0f2c8ec 229#endif
94bdecf9 230#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
7827dc65
AL
231p |I32 |do_ipcctl |I32 optype|NN SV** mark|NN SV** sp
232p |I32 |do_ipcget |I32 optype|NN SV** mark|NN SV** sp
233p |I32 |do_msgrcv |NN SV** mark|NN SV** sp
234p |I32 |do_msgsnd |NN SV** mark|NN SV** sp
235p |I32 |do_semop |NN SV** mark|NN SV** sp
236p |I32 |do_shmio |I32 optype|NN SV** mark|NN SV** sp
94bdecf9 237#endif
4048f010 238Ap |void |do_join |NN SV *sv|NN SV *delim|NN SV **mark|NN SV **sp
94bdecf9 239p |OP* |do_kv
e4dba786 240Apmb |bool |do_open |NN GV* gv|NN const char* name|I32 len|int as_raw \
890ce7af 241 |int rawmode|int rawperm|NULLOK PerlIO* supplied_fp
2fbb330f 242Ap |bool |do_open9 |NN GV *gv|NN const char *name|I32 len|int as_raw \
890ce7af
AL
243 |int rawmode|int rawperm|NULLOK PerlIO *supplied_fp \
244 |NN SV *svs|I32 num
4048f010
NC
245Ap |bool |do_openn |NN GV *gv|NN const char *oname|I32 len \
246 |int as_raw|int rawmode|int rawperm \
247 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
248 |I32 num
890ce7af
AL
249p |bool |do_print |NULLOK SV* sv|NN PerlIO* fp
250pR |OP* |do_readline
251p |I32 |do_chomp |NN SV* sv
252p |bool |do_seek |NULLOK GV* gv|Off_t pos|int whence
253Ap |void |do_sprintf |NN SV* sv|I32 len|NN SV** sarg
254p |Off_t |do_sysseek |NN GV* gv|Off_t pos|int whence
255pR |Off_t |do_tell |NN GV* gv
256p |I32 |do_trans |NN SV* sv
4373e329
AL
257p |UV |do_vecget |NN SV* sv|I32 offset|I32 size
258p |void |do_vecset |NN SV* sv
890ce7af 259p |void |do_vop |I32 optype|NN SV* sv|NN SV* left|NN SV* right
850e8516 260p |OP* |dofile |NN OP* term|I32 force_builtin
890ce7af 261ApR |I32 |dowantarray
94bdecf9
JH
262Ap |void |dump_all
263Ap |void |dump_eval
264#if defined(DUMP_FDS)
9a957fbc 265Ap |void |dump_fds |NN char* s
94bdecf9 266#endif
9a957fbc 267Ap |void |dump_form |NN const GV* gv
890ce7af 268Ap |void |gv_dump |NN GV* gv
4048f010 269Ap |void |op_dump |NN const OP *o
9a957fbc
AL
270Ap |void |pmop_dump |NULLOK PMOP* pm
271Ap |void |dump_packsubs |NN const HV* stash
f54cb97a 272Ap |void |dump_sub |NN const GV* gv
890ce7af
AL
273Apd |void |fbm_compile |NN SV* sv|U32 flags
274ApdR |char* |fbm_instr |NN unsigned char* big|NN unsigned char* bigend \
9f6cc744 275 |NN SV* littlestr|U32 flags
7827dc65
AL
276p |char* |find_script |NN const char *scriptname|bool dosearch \
277 |NULLOK const char *const *const search_ext|I32 flags
b7783a12
NC
278#if defined(PERL_IN_OP_C)
279s |OP* |force_list |NULLOK OP* arg
280s |OP* |fold_constants |NN OP *o
281#endif
aec46f14
AL
282Afpd |char* |form |NN const char* pat|...
283Ap |char* |vform |NN const char* pat|NULLOK va_list* args
94bdecf9 284Ap |void |free_tmps
0da8eb3a 285#if defined(PERL_IN_OP_C)
b7783a12 286s |OP* |gen_constant_list|NULLOK OP* o
0da8eb3a 287#endif
94bdecf9 288#if !defined(HAS_GETENV_LEN)
9f6cc744 289p |char* |getenv_len |NN const char *env_elem|NN unsigned long *len
94bdecf9 290#endif
005a8a35 291pox |void |get_db_sub |NULLOK SV **svp|NN CV *cv
46c461b5
AL
292Ap |void |gp_free |NULLOK GV* gv
293Ap |GP* |gp_ref |NULLOK GP* gp
53c1dcc0
AL
294Ap |GV* |gv_AVadd |NN GV* gv
295Ap |GV* |gv_HVadd |NN GV* gv
296Ap |GV* |gv_IOadd |NN GV* gv
46c461b5 297ApR |GV* |gv_autoload4 |NULLOK HV* stash|NN const char* name|STRLEN len|I32 method
1146e912 298Ap |void |gv_check |NN const HV* stash
46c461b5
AL
299Ap |void |gv_efullname |NN SV* sv|NN const GV* gv
300Apmb |void |gv_efullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
301Ap |void |gv_efullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
53c1dcc0 302Ap |GV* |gv_fetchfile |NN const char* name
d9095cec
NC
303Ap |GV* |gv_fetchfile_flags|NN const char *const name|const STRLEN len\
304 |const U32 flags
7827dc65
AL
305Apd |GV* |gv_fetchmeth |NULLOK HV* stash|NN const char* name|STRLEN len|I32 level
306Apd |GV* |gv_fetchmeth_autoload |NULLOK HV* stash|NN const char* name|STRLEN len|I32 level
eff494dd
NC
307Apdmb |GV* |gv_fetchmethod |NN HV* stash|NN const char* name
308Apd |GV* |gv_fetchmethod_autoload|NN HV* stash|NN const char* name \
309 |I32 autoload
310ApdM |GV* |gv_fetchmethod_flags|NN HV* stash|NN const char* name \
256d1bb2 311 |U32 flags
fe9845cc 312Ap |GV* |gv_fetchpv |NN const char *nambeg|I32 add|const svtype sv_type
9a957fbc
AL
313Ap |void |gv_fullname |NN SV* sv|NN const GV* gv
314Apmb |void |gv_fullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
315Ap |void |gv_fullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
12816592 316pMox |GP * |newGP |NN GV *const gv
7827dc65 317Ap |void |gv_init |NN GV* gv|NULLOK HV* stash|NN const char* name|STRLEN len|int multi
9f616d01 318Ap |void |gv_name_set |NN GV* gv|NN const char *name|U32 len|U32 flags
da51bb9b
NC
319Apd |HV* |gv_stashpv |NN const char* name|I32 flags
320Apd |HV* |gv_stashpvn |NN const char* name|U32 namelen|I32 flags
8798655d 321Apd |HV* |gv_stashsv |NN SV* sv|I32 flags
4048f010 322Apd |void |hv_clear |NULLOK HV *hv
3d4dd4c7 323poM |HV * |hv_copy_hints_hv|NULLOK HV *const ohv
4048f010
NC
324Ap |void |hv_delayfree_ent|NN HV *hv|NULLOK HE *entry
325Abmd |SV* |hv_delete |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 326 |I32 flags
4048f010
NC
327Abmd |SV* |hv_delete_ent |NULLOK HV *hv|NN SV *keysv|I32 flags|U32 hash
328AbmdR |bool |hv_exists |NULLOK HV *hv|NN const char *key|I32 klen
329AbmdR |bool |hv_exists_ent |NULLOK HV *hv|NN SV *keysv|U32 hash
330Abmd |SV** |hv_fetch |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 331 |I32 lval
4048f010
NC
332Abmd |HE* |hv_fetch_ent |NULLOK HV *hv|NN SV *keysv|I32 lval|U32 hash
333Ap |void* |hv_common |NULLOK HV *hv|NULLOK SV *keysv \
d3ba3f5c 334 |NULLOK const char* key|STRLEN klen|int flags \
4048f010 335 |int action|NULLOK SV *val|U32 hash
a038e571
NC
336Ap |void* |hv_common_key_len|NULLOK HV *hv|NN const char *key \
337 |I32 klen_i32|const int action|NULLOK SV *val \
338 |const U32 hash
4048f010
NC
339Ap |void |hv_free_ent |NN HV *hv|NULLOK HE *entryK
340Apd |I32 |hv_iterinit |NN HV *hv
a3b680e6
AL
341ApdR |char* |hv_iterkey |NN HE* entry|NN I32* retlen
342ApdR |SV* |hv_iterkeysv |NN HE* entry
4048f010
NC
343ApdRbm |HE* |hv_iternext |NN HV *hv
344ApdR |SV* |hv_iternextsv |NN HV *hv|NN char **key|NN I32 *retlen
345ApMdR |HE* |hv_iternext_flags|NN HV *hv|I32 flags
346ApdR |SV* |hv_iterval |NN HV *hv|NN HE *entry
347Ap |void |hv_ksplit |NN HV *hv|IV newmax
348Apdbm |void |hv_magic |NN HV *hv|NULLOK GV *gv|int how
bd95ae50 349XEdpoM |HV * |refcounted_he_chain_2hv|NULLOK const struct refcounted_he *c
18759386 350XEpoM |SV * |refcounted_he_fetch|NULLOK const struct refcounted_he *chain \
7b0bddfa
NC
351 |NULLOK SV *keysv|NULLOK const char *key \
352 |STRLEN klen, int flags, U32 hash
b3ca2e83 353dpoM |void |refcounted_he_free|NULLOK struct refcounted_he *he
c20eb1c0 354XEdpoM |struct refcounted_he *|refcounted_he_new \
9b2c10f1 355 |NULLOK struct refcounted_he *const parent \
b46c265e 356 |NULLOK SV *const key|NULLOK SV *const value
012da8e5
NC
357#if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT)
358s |struct refcounted_he * |refcounted_he_new_common \
359 |NULLOK struct refcounted_he *const parent \
360 |NN const char *const key_p \
361 |const STRLEN key_len|const char flags \
362 |char value_type|NN const void *value \
363 |const STRLEN value_len
364#endif
4048f010
NC
365Abmd |SV** |hv_store |NULLOK HV *hv|NULLOK const char *key \
366 |I32 klen|NULLOK SV *val|U32 hash
367Abmd |HE* |hv_store_ent |NULLOK HV *hv|NULLOK SV *key|NULLOK SV *val\
368 |U32 hash
369AbmdM |SV** |hv_store_flags |NULLOK HV *hv|NULLOK const char *key \
370 |I32 klen|NULLOK SV *val|U32 hash|int flags
371Apd |void |hv_undef |NULLOK HV *hv
4373e329
AL
372ApP |I32 |ibcmp |NN const char* a|NN const char* b|I32 len
373ApP |I32 |ibcmp_locale |NN const char* a|NN const char* b|I32 len
4048f010
NC
374Apd |I32 |ibcmp_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
375 |bool u1|NN const char *s2|NULLOK char **pe2 \
376 |UV l2|bool u2
0da8eb3a
NC
377#if defined(PERL_IN_DOIO_C)
378sR |bool |ingroup |Gid_t testgid|bool effective
379#endif
4373e329 380p |void |init_argv_symbols|int argc|NN char **argv
94bdecf9
JH
381p |void |init_debugger
382Ap |void |init_stacks
bfce84ec 383Ap |void |init_tm |NN struct tm *ptm
dd2155a4 384pd |U32 |intro_my
b464bac0 385ApPR |char* |instr |NN const char* big|NN const char* little
5836e3ec 386p |bool |io_close |NN IO* io|bool not_implicit
2d03de9c 387pR |OP* |invert |NULLOK OP* cmd
f54cb97a
AL
388ApR |I32 |is_lvalue_sub
389ApPR |U32 |to_uni_upper_lc|U32 c
390ApPR |U32 |to_uni_title_lc|U32 c
391ApPR |U32 |to_uni_lower_lc|U32 c
392ApPR |bool |is_uni_alnum |UV c
393ApPR |bool |is_uni_alnumc |UV c
394ApPR |bool |is_uni_idfirst |UV c
395ApPR |bool |is_uni_alpha |UV c
396ApPR |bool |is_uni_ascii |UV c
397ApPR |bool |is_uni_space |UV c
398ApPR |bool |is_uni_cntrl |UV c
399ApPR |bool |is_uni_graph |UV c
400ApPR |bool |is_uni_digit |UV c
401ApPR |bool |is_uni_upper |UV c
402ApPR |bool |is_uni_lower |UV c
403ApPR |bool |is_uni_print |UV c
404ApPR |bool |is_uni_punct |UV c
405ApPR |bool |is_uni_xdigit |UV c
4373e329
AL
406Ap |UV |to_uni_upper |UV c|NN U8 *p|NN STRLEN *lenp
407Ap |UV |to_uni_title |UV c|NN U8 *p|NN STRLEN *lenp
408Ap |UV |to_uni_lower |UV c|NN U8 *p|NN STRLEN *lenp
409Ap |UV |to_uni_fold |UV c|NN U8 *p|NN STRLEN *lenp
f54cb97a
AL
410ApPR |bool |is_uni_alnum_lc|UV c
411ApPR |bool |is_uni_alnumc_lc|UV c
412ApPR |bool |is_uni_idfirst_lc|UV c
413ApPR |bool |is_uni_alpha_lc|UV c
414ApPR |bool |is_uni_ascii_lc|UV c
415ApPR |bool |is_uni_space_lc|UV c
416ApPR |bool |is_uni_cntrl_lc|UV c
417ApPR |bool |is_uni_graph_lc|UV c
418ApPR |bool |is_uni_digit_lc|UV c
419ApPR |bool |is_uni_upper_lc|UV c
420ApPR |bool |is_uni_lower_lc|UV c
421ApPR |bool |is_uni_print_lc|UV c
422ApPR |bool |is_uni_punct_lc|UV c
423ApPR |bool |is_uni_xdigit_lc|UV c
4048f010 424Apd |STRLEN |is_utf8_char |NN const U8 *s
4373e329 425Apd |bool |is_utf8_string |NN const U8 *s|STRLEN len
814fafa7 426Apdmb |bool |is_utf8_string_loc|NN const U8 *s|STRLEN len|NULLOK const U8 **p
7827dc65 427Apd |bool |is_utf8_string_loclen|NN const U8 *s|STRLEN len|NULLOK const U8 **ep|NULLOK STRLEN *el
1df70142
AL
428ApR |bool |is_utf8_alnum |NN const U8 *p
429ApR |bool |is_utf8_alnumc |NN const U8 *p
430ApR |bool |is_utf8_idfirst|NN const U8 *p
431ApR |bool |is_utf8_idcont |NN const U8 *p
432ApR |bool |is_utf8_alpha |NN const U8 *p
433ApR |bool |is_utf8_ascii |NN const U8 *p
434ApR |bool |is_utf8_space |NN const U8 *p
435ApR |bool |is_utf8_cntrl |NN const U8 *p
436ApR |bool |is_utf8_digit |NN const U8 *p
437ApR |bool |is_utf8_graph |NN const U8 *p
438ApR |bool |is_utf8_upper |NN const U8 *p
439ApR |bool |is_utf8_lower |NN const U8 *p
440ApR |bool |is_utf8_print |NN const U8 *p
441ApR |bool |is_utf8_punct |NN const U8 *p
442ApR |bool |is_utf8_xdigit |NN const U8 *p
443ApR |bool |is_utf8_mark |NN const U8 *p
4048f010
NC
444p |OP* |jmaybe |NN OP *o
445pP |I32 |keyword |NN const char *name|I32 len|bool all_keywords
94bdecf9 446Ap |void |leave_scope |I32 base
6d9a2efc 447EXp |void |lex_end
5486870f 448p |void |lex_start |NULLOK SV* line|NULLOK PerlIO *rsfp|bool new_filter
aec46f14 449Ap |void |op_null |NN OP* o
6d9a2efc 450EXp |void |op_clear |NN OP* o
4026c95a
SH
451Ap |void |op_refcnt_lock
452Ap |void |op_refcnt_unlock
2dd5337b 453#if defined(PERL_IN_OP_C)
12e93c28 454s |OP* |linklist |NN OP *o
412da003 455s |OP* |listkids |NULLOK OP* o
2dd5337b 456#endif
412da003 457: This is used in S_doeval in pp_ctl.c
aec46f14 458p |OP* |list |NULLOK OP* o
aec46f14
AL
459Apd |void |load_module|U32 flags|NN SV* name|NULLOK SV* ver|...
460Ap |void |vload_module|U32 flags|NN SV* name|NULLOK SV* ver|NULLOK va_list* args
4048f010 461p |OP* |localize |NN OP *o|I32 lex
aad570aa 462ApdR |I32 |looks_like_number|NN SV *const sv
7827dc65
AL
463Apd |UV |grok_bin |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
464Apd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
465Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep
bfce84ec 466ApdR |bool |grok_numeric_radix|NN const char **sp|NN const char *send
7827dc65 467Apd |UV |grok_oct |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
bfce84ec
AL
468p |int |magic_clearenv |NN SV* sv|NN MAGIC* mg
469p |int |magic_clear_all_env|NN SV* sv|NN MAGIC* mg
b3ca2e83 470dp |int |magic_clearhint|NN SV* sv|NN MAGIC* mg
52b45067 471p |int |magic_clearisa |NN SV* sv|NN MAGIC* mg
bfce84ec
AL
472p |int |magic_clearpack|NN SV* sv|NN MAGIC* mg
473p |int |magic_clearsig |NN SV* sv|NN MAGIC* mg
1146e912 474p |int |magic_existspack|NN SV* sv|NN const MAGIC* mg
bfce84ec
AL
475p |int |magic_freeovrld|NN SV* sv|NN MAGIC* mg
476p |int |magic_get |NN SV* sv|NN MAGIC* mg
8772537c 477p |int |magic_getarylen|NN SV* sv|NN const MAGIC* mg
bfce84ec 478p |int |magic_getdefelem|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
479p |int |magic_getnkeys |NN SV* sv|NN MAGIC* mg
480p |int |magic_getpack |NN SV* sv|NN MAGIC* mg
481p |int |magic_getpos |NN SV* sv|NN MAGIC* mg
482p |int |magic_getsig |NN SV* sv|NN MAGIC* mg
483p |int |magic_getsubstr|NN SV* sv|NN MAGIC* mg
484p |int |magic_gettaint |NN SV* sv|NN MAGIC* mg
485p |int |magic_getuvar |NN SV* sv|NN MAGIC* mg
486p |int |magic_getvec |NN SV* sv|NN MAGIC* mg
487p |U32 |magic_len |NN SV* sv|NN MAGIC* mg
4048f010 488p |int |magic_nextpack |NN SV *sv|NN MAGIC *mg|NN SV *key
bfce84ec
AL
489p |U32 |magic_regdata_cnt|NN SV* sv|NN MAGIC* mg
490p |int |magic_regdatum_get|NN SV* sv|NN MAGIC* mg
491pr |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
492p |int |magic_set |NN SV* sv|NN MAGIC* mg
493p |int |magic_setamagic|NN SV* sv|NN MAGIC* mg
494p |int |magic_setarylen|NN SV* sv|NN MAGIC* mg
495p |int |magic_freearylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
496p |int |magic_setdbline|NN SV* sv|NN MAGIC* mg
497p |int |magic_setdefelem|NN SV* sv|NN MAGIC* mg
498p |int |magic_setenv |NN SV* sv|NN MAGIC* mg
b3ca2e83 499dp |int |magic_sethint |NN SV* sv|NN MAGIC* mg
bfce84ec 500p |int |magic_setisa |NN SV* sv|NN MAGIC* mg
bfce84ec
AL
501p |int |magic_setmglob |NN SV* sv|NN MAGIC* mg
502p |int |magic_setnkeys |NN SV* sv|NN MAGIC* mg
503p |int |magic_setpack |NN SV* sv|NN MAGIC* mg
504p |int |magic_setpos |NN SV* sv|NN MAGIC* mg
505p |int |magic_setregexp|NN SV* sv|NN MAGIC* mg
506p |int |magic_setsig |NN SV* sv|NN MAGIC* mg
507p |int |magic_setsubstr|NN SV* sv|NN MAGIC* mg
508p |int |magic_settaint |NN SV* sv|NN MAGIC* mg
509p |int |magic_setuvar |NN SV* sv|NN MAGIC* mg
510p |int |magic_setvec |NN SV* sv|NN MAGIC* mg
511p |int |magic_setutf8 |NN SV* sv|NN MAGIC* mg
512p |int |magic_set_all_env|NN SV* sv|NN MAGIC* mg
513p |U32 |magic_sizepack |NN SV* sv|NN MAGIC* mg
514p |int |magic_wipepack |NN SV* sv|NN MAGIC* mg
94bdecf9
JH
515Ap |void |markstack_grow
516#if defined(USE_LOCALE_COLLATE)
b22e6366
AL
517p |int |magic_setcollxfrm|NN SV* sv|NN MAGIC* mg
518p |char* |mem_collxfrm |NN const char* s|STRLEN len|NN STRLEN* xlen
94bdecf9 519#endif
aec46f14
AL
520Afp |SV* |mess |NN const char* pat|...
521Ap |SV* |vmess |NN const char* pat|NULLOK va_list* args
6d9a2efc 522EXp |void |qerror |NN SV* err
3d4dd4c7
NC
523Apd |void |sortsv |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp
524Apd |void |sortsv_flags |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp|U32 flags
9a957fbc 525Apd |int |mg_clear |NN SV* sv
4048f010
NC
526Apd |int |mg_copy |NN SV *sv|NN SV *nsv|NULLOK const char *key \
527 |I32 klen
af7df257 528pd |void |mg_localize |NN SV* sv|NN SV* nsv|bool setmagic
890ce7af 529ApdR |MAGIC* |mg_find |NULLOK const SV* sv|int type
9a957fbc
AL
530Apd |int |mg_free |NN SV* sv
531Apd |int |mg_get |NN SV* sv
532Apd |U32 |mg_length |NN SV* sv
533Apd |void |mg_magical |NN SV* sv
534Apd |int |mg_set |NN SV* sv
535Ap |I32 |mg_size |NN SV* sv
9f6cc744 536Ap |void |mini_mktime |NN struct tm *ptm
6d9a2efc 537EXp |OP* |mod |NULLOK OP* o|I32 type
a79b25b7 538p |int |mode_from_discipline|NULLOK const char* s|STRLEN len
c7030b81 539Ap |const char* |moreswitches |NN const char* s
4373e329 540Ap |NV |my_atof |NN const char *s
94bdecf9 541#if (!defined(HAS_MEMCPY) && !defined(HAS_BCOPY)) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY) && !defined(HAS_SAFE_BCOPY))
4373e329 542Anp |char* |my_bcopy |NN const char* from|NN char* to|I32 len
94bdecf9
JH
543#endif
544#if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
4373e329 545Anp |char* |my_bzero |NN char* loc|I32 len
94bdecf9
JH
546#endif
547Apr |void |my_exit |U32 status
548Apr |void |my_failure_exit
549Ap |I32 |my_fflush_all
550Anp |Pid_t |my_fork
551Anp |void |atfork_lock
552Anp |void |atfork_unlock
553Ap |I32 |my_lstat
554#if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
4373e329 555AnpP |I32 |my_memcmp |NN const char* s1|NN const char* s2|I32 len
94bdecf9
JH
556#endif
557#if !defined(HAS_MEMSET)
4373e329 558Anp |void* |my_memset |NN char* loc|I32 ch|I32 len
94bdecf9 559#endif
bfce84ec
AL
560Ap |I32 |my_pclose |NULLOK PerlIO* ptr
561Ap |PerlIO*|my_popen |NN const char* cmd|NN const char* mode
c9289b7b 562Ap |PerlIO*|my_popen_list |NN const char* mode|int n|NN SV ** args
bfce84ec 563Ap |void |my_setenv |NULLOK const char* nam|NULLOK const char* val
94bdecf9 564Ap |I32 |my_stat
bfce84ec 565Ap |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
94bdecf9 566#if defined(MYSWAP)
f54cb97a
AL
567ApPa |short |my_swap |short s
568ApPa |long |my_htonl |long l
569ApPa |long |my_ntohl |long l
94bdecf9
JH
570#endif
571p |void |my_unexec
b22e6366
AL
572Apa |OP* |newANONLIST |NULLOK OP* o
573Apa |OP* |newANONHASH |NULLOK OP* o
bfce84ec 574Ap |OP* |newANONSUB |I32 floor|NULLOK OP* proto|NULLOK OP* block
aec46f14
AL
575Apa |OP* |newASSIGNOP |I32 flags|NULLOK OP* left|I32 optype|NULLOK OP* right
576Apa |OP* |newCONDOP |I32 flags|NN OP* first|NULLOK OP* trueop|NULLOK OP* falseop
9a957fbc 577Apd |CV* |newCONSTSUB |NULLOK HV* stash|NULLOK const char* name|NULLOK SV* sv
eb8433b7
NC
578#ifdef PERL_MAD
579Ap |OP* |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block
580#else
aec46f14 581Ap |void |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block
eb8433b7 582#endif
b22e6366
AL
583Apa |OP* |newFOROP |I32 flags|NULLOK char* label|line_t forline \
584 |NULLOK OP* sv|NN OP* expr|NULLOK OP* block|NULLOK OP* cont
0d863452 585Apa |OP* |newGIVENOP |NN OP* cond|NN OP* block|PADOFFSET defsv_off
4048f010 586Apa |OP* |newLOGOP |I32 optype|I32 flags|NN OP *first|NN OP *other
b22e6366
AL
587Apa |OP* |newLOOPEX |I32 type|NN OP* label
588Apa |OP* |newLOOPOP |I32 flags|I32 debuggable|NULLOK OP* expr|NULLOK OP* block
4373e329 589Apa |OP* |newNULLLIST
f54cb97a
AL
590Apa |OP* |newOP |I32 optype|I32 flags
591Ap |void |newPROG |NN OP* o
b22e6366 592Apa |OP* |newRANGE |I32 flags|NN OP* left|NN OP* right
2d03de9c
AL
593Apa |OP* |newSLICEOP |I32 flags|NULLOK OP* subscript|NULLOK OP* listop
594Apa |OP* |newSTATEOP |I32 flags|NULLOK char* label|NULLOK OP* o
bfce84ec 595Ap |CV* |newSUB |I32 floor|NULLOK OP* o|NULLOK OP* proto|NULLOK OP* block
77004dee
NC
596ApM |CV * |newXS_flags |NULLOK const char *name|NN XSUBADDR_t subaddr\
597 |NN const char *const filename \
598 |NULLOK const char *const proto|U32 flags
4048f010
NC
599Apd |CV* |newXS |NULLOK const char *name|NN XSUBADDR_t subaddr\
600 |NN const char *filename
3bdcbd26 601AmdbR |AV* |newAV
f54cb97a 602Apa |OP* |newAVREF |NN OP* o
bfce84ec 603Apa |OP* |newBINOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
2d03de9c
AL
604Apa |OP* |newCVREF |I32 flags|NULLOK OP* o
605Apa |OP* |newGVOP |I32 type|I32 flags|NN GV* gv
b22e6366
AL
606Apa |GV* |newGVgen |NN const char* pack
607Apa |OP* |newGVREF |I32 type|NULLOK OP* o
a3b680e6 608ApaR |OP* |newHVREF |NN OP* o
3bdcbd26 609AmdbR |HV* |newHV
4048f010 610ApaR |HV* |newHVhv |NULLOK HV *hv
f54cb97a 611Apa |IO* |newIO
bfce84ec 612Apa |OP* |newLISTOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
392d04bb 613#ifdef USE_ITHREADS
58182927 614Apa |OP* |newPADOP |I32 type|I32 flags|NN SV* sv
392d04bb 615#endif
f54cb97a 616Apa |OP* |newPMOP |I32 type|I32 flags
bfce84ec 617Apa |OP* |newPVOP |I32 type|I32 flags|NULLOK char* pv
23f13727
SS
618Apa |SV* |newRV |NN SV *const sv
619Apda |SV* |newRV_noinc |NN SV *const sv
2b021c53 620Apda |SV* |newSV |const STRLEN len
f54cb97a
AL
621Apa |OP* |newSVREF |NN OP* o
622Apa |OP* |newSVOP |I32 type|I32 flags|NN SV* sv
23f13727
SS
623Apda |SV* |newSViv |const IV i
624Apda |SV* |newSVuv |const UV u
625Apda |SV* |newSVnv |const NV n
626Apda |SV* |newSVpv |NULLOK const char *const s|const STRLEN len
627Apda |SV* |newSVpvn |NULLOK const char *const s|const STRLEN len
628Apda |SV* |newSVpvn_flags |NULLOK const char *const s|const STRLEN len|const U32 flags
629Apda |SV* |newSVhek |NULLOK const HEK *const hek
2d03de9c 630Apda |SV* |newSVpvn_share |NULLOK const char* s|I32 len|U32 hash
23f13727
SS
631Afpda |SV* |newSVpvf |NN const char *const pat|...
632Apa |SV* |vnewSVpvf |NN const char *const pat|NULLOK va_list *const args
12964ddd 633Apd |SV* |newSVrv |NN SV *const rv|NULLOK const char *const classname
23f13727 634Apda |SV* |newSVsv |NULLOK SV *const old
fe9845cc 635Apda |SV* |newSV_type |const svtype type
2d03de9c 636Apa |OP* |newUNOP |I32 type|I32 flags|NULLOK OP* first
0d863452 637Apa |OP* |newWHENOP |NULLOK OP* cond|NN OP* block
2d03de9c
AL
638Apa |OP* |newWHILEOP |I32 flags|I32 debuggable|NULLOK LOOP* loop \
639 |I32 whileline|NULLOK OP* expr|NULLOK OP* block|NULLOK OP* cont \
a034e688 640 |I32 has_my
f54cb97a 641Apa |PERL_SI*|new_stackinfo|I32 stitems|I32 cxitems
4048f010
NC
642Ap |char* |scan_vstring |NN const char *s|NN const char *const e \
643 |NN SV *sv
9f6cc744 644Apd |const char* |scan_version |NN const char *s|NN SV *rv|bool qv
2d03de9c 645Apd |SV* |new_version |NN SV *ver
ac0e6a2f 646Apd |SV* |upg_version |NN SV *ver|bool qv
e0218a61 647Apd |bool |vverify |NN SV *vs
2d03de9c
AL
648Apd |SV* |vnumify |NN SV *vs
649Apd |SV* |vnormal |NN SV *vs
650Apd |SV* |vstringify |NN SV *vs
9f6cc744 651Apd |int |vcmp |NN SV *lhv|NN SV *rhv
2d03de9c
AL
652p |PerlIO*|nextargv |NN GV* gv
653ApP |char* |ninstr |NN const char* big|NN const char* bigend \
654 |NN const char* little|NN const char* lend
6472dca1 655Ap |void |op_free |NULLOK OP* arg
eb8433b7
NC
656#ifdef PERL_MAD
657p |OP* |package |NN OP* o
658#else
2d03de9c 659p |void |package |NN OP* o
eb8433b7 660#endif
dd2155a4 661pd |PADOFFSET|pad_alloc |I32 optype|U32 tmptype
262cbcdb 662p |PADOFFSET|allocmy |NN const char *const name
890ce7af 663pdR |PADOFFSET|pad_findmy |NN const char* name
e1f795dc 664Ap |PADOFFSET|find_rundefsvoffset |
1df70142
AL
665pR |OP* |oopsAV |NN OP* o
666pR |OP* |oopsHV |NN OP* o
dd2155a4
DM
667pd |void |pad_leavemy
668Apd |SV* |pad_sv |PADOFFSET po
669pd |void |pad_free |PADOFFSET po
82af08ae
NC
670#if defined(PERL_IN_PAD_C)
671sd |void |pad_reset
672#endif
dd2155a4 673pd |void |pad_swipe |PADOFFSET po|bool refadjust
2d03de9c 674p |void |peep |NULLOK OP* o
4048f010 675dopM |PerlIO*|start_glob |NN SV *tmpglob|NN IO *io
59bd0823 676#if defined(USE_REENTRANT_API)
10bc17b6 677Ap |void |reentrant_size
59bd0823 678Ap |void |reentrant_init
10bc17b6 679Ap |void |reentrant_free
4048f010 680Anp |void* |reentrant_retry|NN const char *f|...
59bd0823 681#endif
7827dc65 682Ap |void |call_atexit |ATEXIT_t fn|NULLOK void *ptr
4373e329
AL
683Apd |I32 |call_argv |NN const char* sub_name|I32 flags|NN char** argv
684Apd |I32 |call_method |NN const char* methname|I32 flags
685Apd |I32 |call_pv |NN const char* sub_name|I32 flags
8c54174d 686Apd |I32 |call_sv |NN SV* sv|VOL I32 flags
5290524f 687Ap |void |despatch_signals
e4c5ccf3 688Ap |OP * |doref |NN OP *o|I32 type|bool set_op_ref
4373e329
AL
689Apd |SV* |eval_pv |NN const char* p|I32 croak_on_error
690Apd |I32 |eval_sv |NN SV* sv|I32 flags
56d23705
DM
691Apd |SV* |get_sv |NN const char* name|I32 create
692Apd |AV* |get_av |NN const char* name|I32 create
693Apd |HV* |get_hv |NN const char* name|I32 create
780a5241
NC
694Apd |CV* |get_cv |NN const char* name|I32 flags
695Apd |CV* |get_cvn_flags |NN const char* name|STRLEN len|I32 flags
94bdecf9
JH
696Ap |int |init_i18nl10n |int printwarn
697Ap |int |init_i18nl14n |int printwarn
8772537c
AL
698Ap |void |new_collate |NULLOK const char* newcoll
699Ap |void |new_ctype |NN const char* newctype
700Ap |void |new_numeric |NULLOK const char* newcoll
94bdecf9
JH
701Ap |void |set_numeric_local
702Ap |void |set_numeric_radix
703Ap |void |set_numeric_standard
4373e329 704Apd |void |require_pv |NN const char* pv
2d03de9c
AL
705Apd |void |pack_cat |NN SV *cat|NN const char *pat|NN const char *patend \
706 |NN SV **beglist|NN SV **endlist|NN SV ***next_in_list|U32 flags
707Apd |void |packlist |NN SV *cat|NN const char *pat|NN const char *patend|NN SV **beglist|NN SV **endlist
ed4173ef
NC
708#if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
709s |void |pidgone |Pid_t pid|int status
ca0c25f6 710#endif
4373e329 711Ap |void |pmflag |NN U32* pmfl|int ch
4048f010 712p |OP* |pmruntime |NN OP *o|NN OP *expr|bool isreg
0d86688d
NC
713#if defined(PERL_IN_OP_C)
714s |OP* |pmtrans |NN OP* o|NN OP* expr|NN OP* repl
715#endif
94bdecf9 716Ap |void |pop_scope
2d03de9c 717p |OP* |prepend_elem |I32 optype|NULLOK OP* head|NULLOK OP* tail
94bdecf9 718Ap |void |push_scope
e4c5ccf3 719Amb |OP* |ref |NULLOK OP* o|I32 type
0d86688d
NC
720#if defined(PERL_IN_OP_C)
721s |OP* |refkids |NULLOK OP* o|I32 type
722#endif
097eb12c 723Ap |void |regdump |NN const regexp* r
f7819f85 724Ap |void |regdump |NN const regexp* r
4048f010
NC
725Ap |SV* |regclass_swash |NULLOK const regexp *prog \
726 |NN const struct regnode *node|bool doinit \
727 |NULLOK SV **listsvp|NULLOK SV **altsvp
49d7dfbc 728Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \
4373e329
AL
729 |NN char* strend|NN char* strbeg|I32 minend \
730 |NN SV* screamer|U32 nosave
84679df5 731Ap |void |pregfree |NULLOK REGEXP* r
4048f010 732Ap |void |pregfree2 |NN REGEXP *rx
84679df5 733EXp |REGEXP*|reg_temp_copy |NN REGEXP* r
4048f010 734Ap |void |regfree_internal|NN REGEXP *const rx
a3c0e9ca 735#if defined(USE_ITHREADS)
49d7dfbc 736Ap |void* |regdupe_internal|NN REGEXP * const r|NN CLONE_PARAMS* param
a3c0e9ca 737#endif
1593ad57
NC
738Ap |REGEXP*|pregcomp |NN SV * const pattern|const U32 flags
739Ap |REGEXP*|re_compile |NN SV * const pattern|U32 flags
49d7dfbc
AB
740Ap |char* |re_intuit_start|NN REGEXP * const rx|NULLOK SV* sv|NN char* strpos \
741 |NN char* strend|const U32 flags \
9f61653a 742 |NULLOK re_scream_pos_data *data
4048f010
NC
743Ap |SV* |re_intuit_string|NN REGEXP *const r
744Ap |I32 |regexec_flags |NN REGEXP *const rx|NN char *stringarg \
745 |NN char *strend|NN char *strbeg|I32 minend \
746 |NN SV *sv|NULLOK void *data|U32 flags
8074533a 747ApR |regnode*|regnext |NULLOK regnode* p
93b32b6d 748
192b9cd1
AB
749EXp |SV*|reg_named_buff |NN REGEXP * const rx|NULLOK SV * const key \
750 |NULLOK SV * const value|const U32 flags
751EXp |SV*|reg_named_buff_iter |NN REGEXP * const rx|NULLOK const SV * const lastkey \
752 |const U32 flags
753Ap |SV*|reg_named_buff_fetch |NN REGEXP * const rx|NN SV * const namesv|const U32 flags
754Ap |bool|reg_named_buff_exists |NN REGEXP * const rx|NN SV * const key|const U32 flags
755Ap |SV*|reg_named_buff_firstkey |NN REGEXP * const rx|const U32 flags
756Ap |SV*|reg_named_buff_nextkey |NN REGEXP * const rx|const U32 flags
757Ap |SV*|reg_named_buff_scalar |NN REGEXP * const rx|const U32 flags
758Ap |SV*|reg_named_buff_all |NN REGEXP * const rx|const U32 flags
2fdbfb4d
AB
759
760EXp |void|reg_numbered_buff_fetch|NN REGEXP * const rx|const I32 paren|NULLOK SV * const sv
761EXp |void|reg_numbered_buff_store|NN REGEXP * const rx|const I32 paren|NULLOK SV const * const value
762EXp |I32|reg_numbered_buff_length|NN REGEXP * const rx|NN const SV * const sv|const I32 paren
763
49d7dfbc 764EXp |SV*|reg_qr_package|NN REGEXP * const rx
93b32b6d 765
32fc9b6a 766Ep |void |regprop |NULLOK const regexp *prog|NN SV* sv|NN const regnode* o
4373e329 767Ap |void |repeatcpy |NN char* to|NN const char* from|I32 len|I32 count
a3b680e6
AL
768ApP |char* |rninstr |NN const char* big|NN const char* bigend \
769 |NN const char* little|NN const char* lend
94bdecf9 770Ap |Sighandler_t|rsignal |int i|Sighandler_t t
7827dc65 771p |int |rsignal_restore|int i|NULLOK Sigsave_t* t
9f6cc744 772p |int |rsignal_save |int i|Sighandler_t t1|NN Sigsave_t* save
94bdecf9 773Ap |Sighandler_t|rsignal_state|int i
9c105995
NC
774#if defined(PERL_IN_PP_CTL_C)
775s |void |rxres_free |NN void** rsp
776s |void |rxres_restore |NN void **rsp|NN REGEXP *rx
777#endif
778: Used in pp_hot.c
4048f010 779p |void |rxres_save |NN void **rsp|NN REGEXP *rx
94bdecf9 780#if !defined(HAS_RENAME)
4373e329 781p |I32 |same_dirent |NN const char* a|NN const char* b
94bdecf9 782#endif
639f6c3d
NC
783Apda |char* |savepv |NULLOK const char* pv
784Apda |char* |savepvn |NULLOK const char* pv|I32 len
7827dc65 785Apda |char* |savesharedpv |NULLOK const char* pv
d9095cec 786Apda |char* |savesharedpvn |NN const char *const pv|const STRLEN len
53c1dcc0 787Apda |char* |savesvpv |NN SV* sv
94bdecf9 788Ap |void |savestack_grow
4b3c1a47 789Ap |void |savestack_grow_cnt |I32 need
59413342 790Ap |void |save_aelem |NN AV* av|I32 idx|NN SV **sptr
94bdecf9 791Ap |I32 |save_alloc |I32 size|I32 pad
9a957fbc
AL
792Ap |void |save_aptr |NN AV** aptr
793Ap |AV* |save_ary |NN GV* gv
794Ap |void |save_bool |NN bool* boolp
795Ap |void |save_clearsv |NN SV** svp
4048f010 796Ap |void |save_delete |NN HV *hv|NN char *key|I32 klen
7827dc65 797Ap |void |save_destructor|DESTRUCTORFUNC_NOCONTEXT_t f|NN void* p
55968144 798Ap |void |save_destructor_x|DESTRUCTORFUNC_t f|NULLOK void* p
7827dc65
AL
799Ap |void |save_freesv |NULLOK SV* sv
800p |void |save_freeop |NULLOK OP* o
801Ap |void |save_freepv |NULLOK char* pv
9a957fbc
AL
802Ap |void |save_generic_svref|NN SV** sptr
803Ap |void |save_generic_pvref|NN char** str
804Ap |void |save_shared_pvref|NN char** str
aec46f14
AL
805Ap |void |save_gp |NN GV* gv|I32 empty
806Ap |HV* |save_hash |NN GV* gv
af7df257
CS
807Amp |void |save_helem |NN HV *hv|NN SV *key|NN SV **sptr
808Ap |void |save_helem_flags|NN HV *hv|NN SV *key|NN SV **sptr|const U32 flags
aec46f14
AL
809Ap |void |save_hptr |NN HV** hptr
810Ap |void |save_I16 |NN I16* intp
811Ap |void |save_I32 |NN I32* intp
812Ap |void |save_I8 |NN I8* bytep
813Ap |void |save_int |NN int* intp
814Ap |void |save_item |NN SV* item
4048f010 815Ap |void |save_iv |NN IV *ivp
aec46f14
AL
816Ap |void |save_list |NN SV** sarg|I32 maxsarg
817Ap |void |save_long |NN long* longp
818Ap |void |save_mortalizesv|NN SV* sv
3d4dd4c7 819Ap |void |save_nogv |NN GV* gv
94bdecf9 820p |void |save_op
aec46f14
AL
821Ap |SV* |save_scalar |NN GV* gv
822Ap |void |save_pptr |NN char** pptr
4048f010 823Ap |void |save_vptr |NN void *ptr
94bdecf9 824Ap |void |save_re_context
09edbca0 825Ap |void |save_padsv_and_mortalize|PADOFFSET off
aec46f14
AL
826Ap |void |save_sptr |NN SV** sptr
827Ap |SV* |save_svref |NN SV** sptr
aec46f14
AL
828p |OP* |sawparens |NULLOK OP* o
829p |OP* |scalar |NULLOK OP* o
2dd5337b
NC
830#if defined(PERL_IN_OP_C)
831s |OP* |scalarkids |NULLOK OP* o
832s |OP* |scalarseq |NULLOK OP* o
833#endif
aec46f14
AL
834p |OP* |scalarvoid |NN OP* o
835Apd |NV |scan_bin |NN const char* start|STRLEN len|NN STRLEN* retlen
836Apd |NV |scan_hex |NN const char* start|STRLEN len|NN STRLEN* retlen
837Ap |char* |scan_num |NN const char* s|NN YYSTYPE *lvalp
838Apd |NV |scan_oct |NN const char* start|STRLEN len|NN STRLEN* retlen
839p |OP* |scope |NULLOK OP* o
840Ap |char* |screaminstr |NN SV *bigstr|NN SV *littlestr|I32 start_shift \
9f6cc744 841 |I32 end_shift|NN I32 *old_posp|I32 last
051b305d
NC
842#if !defined(VMS) && defined(PERL_IN_UTIL_C)
843s |I32 |setenv_getix |NN const char* nam
94bdecf9 844#endif
8226a3d7 845Apd |void |setdefout |NULLOK GV* gv
aec46f14 846Ap |HEK* |share_hek |NN const char* str|I32 len|U32 hash
8aad04aa 847#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
b6455c53
SR
848np |Signal_t |sighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
849Anp |Signal_t |csighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
8aad04aa 850#else
94bdecf9 851np |Signal_t |sighandler |int sig
669f9482 852Anp |Signal_t |csighandler |int sig
8aad04aa 853#endif
c48640ec 854Ap |SV** |stack_grow |NN SV** sp|NN SV** p|int n
0b1558d1 855Ap |I32 |start_subparse |I32 is_format|U32 flags
aec46f14 856p |void |sub_crush_depth|NN CV* cv
7bc54cea 857Apd |bool |sv_2bool |NN SV *const sv
23f13727
SS
858Apd |CV* |sv_2cv |NULLOK SV* sv|NN HV **const st|NN GV **const gvp \
859 |const I32 lref
860Apd |IO* |sv_2io |NN SV *const sv
180488f8 861#ifdef PERL_IN_SV_C
19f6321d 862s |bool |glob_2number |NN GV* const gv
4789ae7c 863s |char* |glob_2pv |NN GV* const gv|NULLOK STRLEN * const len
180488f8 864#endif
53e85712
NC
865Amb |IV |sv_2iv |NULLOK SV *sv
866Apd |IV |sv_2iv_flags |NULLOK SV *const sv|const I32 flags
23f13727 867Apd |SV* |sv_2mortal |NULLOK SV *const sv
53e85712 868Apd |NV |sv_2nv |NULLOK SV *const sv
5de3775c 869pMd |SV* |sv_2num |NN SV *const sv
53e85712
NC
870Amb |char* |sv_2pv |NULLOK SV *sv|NULLOK STRLEN *lp
871Apd |char* |sv_2pv_flags |NULLOK SV *const sv|NULLOK STRLEN *const lp|const I32 flags
7bc54cea 872Apd |char* |sv_2pvutf8 |NN SV *const sv|NULLOK STRLEN *const lp
5de3775c 873Apd |char* |sv_2pvbyte |NN SV *const sv|NULLOK STRLEN *const lp
aec46f14 874Ap |char* |sv_pvn_nomg |NN SV* sv|NULLOK STRLEN* lp
53e85712
NC
875Amb |UV |sv_2uv |NULLOK SV *sv
876Apd |UV |sv_2uv_flags |NULLOK SV *const sv|const I32 flags
4373e329
AL
877Apd |IV |sv_iv |NN SV* sv
878Apd |UV |sv_uv |NN SV* sv
879Apd |NV |sv_nv |NN SV* sv
4048f010
NC
880Apd |char* |sv_pvn |NN SV *sv|NN STRLEN *lp
881Apd |char* |sv_pvutf8n |NN SV *sv|NN STRLEN *lp
882Apd |char* |sv_pvbyten |NN SV *sv|NN STRLEN *lp
23f13727 883Apd |I32 |sv_true |NULLOK SV *const sv
d2bd4e7f
NC
884#if defined (PERL_IN_SV_C)
885sd |void |sv_add_arena |NN char *const ptr|const U32 size \
886 |const U32 flags
887#endif
aad570aa 888Apd |int |sv_backoff |NN SV *const sv
12964ddd 889Apd |SV* |sv_bless |NN SV *const sv|NN HV *const stash
66ceb532
SS
890Afpd |void |sv_catpvf |NN SV *const sv|NN const char *const pat|...
891Apd |void |sv_vcatpvf |NN SV *const sv|NN const char *const pat \
892 |NULLOK va_list *const args
2b021c53 893Apd |void |sv_catpv |NN SV *const sv|NULLOK const char* ptr
4048f010
NC
894Amdb |void |sv_catpvn |NN SV *dsv|NN const char *sstr|STRLEN len
895Amdb |void |sv_catsv |NN SV *dstr|NULLOK SV *sstr
2e000ff2 896Apd |void |sv_chop |NN SV *const sv|NULLOK const char *const ptr
94bdecf9
JH
897pd |I32 |sv_clean_all
898pd |void |sv_clean_objs
af828c01 899Apd |void |sv_clear |NN SV *const sv
ac1e9476
SS
900Apd |I32 |sv_cmp |NULLOK SV *const sv1|NULLOK SV *const sv2
901Apd |I32 |sv_cmp_locale |NULLOK SV *const sv1|NULLOK SV *const sv2
94bdecf9 902#if defined(USE_LOCALE_COLLATE)
ac1e9476 903Apd |char* |sv_collxfrm |NN SV *const sv|NN STRLEN *const nxp
94bdecf9 904#endif
4048f010
NC
905Ap |OP* |sv_compile_2op |NN SV *sv|NN OP **startop \
906 |NN const char *code|NN PAD **padp
4373e329 907Apd |int |getcwd_sv |NN SV* sv
ac1e9476 908Apd |void |sv_dec |NULLOK SV *const sv
f54cb97a 909Ap |void |sv_dump |NN SV* sv
15f169a1
SS
910ApdR |bool |sv_derived_from|NN SV* sv|NN const char *const name
911ApdR |bool |sv_does |NN SV* sv|NN const char *const name
551405c4 912Apd |I32 |sv_eq |NULLOK SV* sv1|NULLOK SV* sv2
af828c01
SS
913Apd |void |sv_free |NULLOK SV *const sv
914poMX |void |sv_free2 |NN SV *const sv
94bdecf9 915pd |void |sv_free_arenas
ac1e9476 916Apd |char* |sv_gets |NN SV *const sv|NN PerlIO *const fp|I32 append
aad570aa 917Apd |char* |sv_grow |NN SV *const sv|STRLEN newlen
ac1e9476 918Apd |void |sv_inc |NULLOK SV *const sv
84335ee9
NC
919Amdb |void |sv_insert |NN SV *const bigstr|const STRLEN offset \
920 |const STRLEN len|NN const char *const little \
921 |const STRLEN littlelen
c0dd94a0
VP
922Apd |void |sv_insert_flags|NN SV *const bigstr|const STRLEN offset|const STRLEN len \
923 |NN const char *const little|const STRLEN littlelen|const U32 flags
12964ddd 924Apd |int |sv_isa |NULLOK SV* sv|NN const char *const name
aec46f14 925Apd |int |sv_isobject |NULLOK SV* sv
af828c01
SS
926Apd |STRLEN |sv_len |NULLOK SV *const sv
927Apd |STRLEN |sv_len_utf8 |NULLOK SV *const sv
2b021c53 928Apd |void |sv_magic |NN SV *const sv|NULLOK SV *const obj|const int how \
ac1e9476 929 |NULLOK const char *const name|const I32 namlen
2b021c53
SS
930Apd |MAGIC *|sv_magicext |NN SV *const sv|NULLOK SV *const obj|const int how \
931 |NULLOK const MGVTBL *const vtbl|NULLOK const char *const name \
932 |const I32 namlen
ac1e9476 933ApdaR |SV* |sv_mortalcopy |NULLOK SV *const oldsv
f54cb97a 934ApdR |SV* |sv_newmortal
af828c01 935Apd |SV* |sv_newref |NULLOK SV *const sv
aec46f14 936Ap |char* |sv_peek |NULLOK SV* sv
af828c01 937Apd |void |sv_pos_u2b |NULLOK SV *const sv|NN I32 *const offsetp|NULLOK I32 *const lenp
ac1e9476 938Apd |void |sv_pos_b2u |NULLOK SV *const sv|NN I32 *const offsetp
aec46f14 939Amdb |char* |sv_pvn_force |NN SV* sv|NULLOK STRLEN* lp
12964ddd
SS
940Apd |char* |sv_pvutf8n_force|NN SV *const sv|NULLOK STRLEN *const lp
941Apd |char* |sv_pvbyten_force|NN SV *const sv|NULLOK STRLEN *const lp
aec46f14
AL
942Apd |char* |sv_recode_to_utf8 |NN SV* sv|NN SV *encoding
943Apd |bool |sv_cat_decode |NN SV* dsv|NN SV *encoding|NN SV *ssv|NN int *offset \
944 |NN char* tstr|int tlen
12964ddd 945ApdR |const char* |sv_reftype |NN const SV *const sv|const int ob
af828c01 946Apd |void |sv_replace |NN SV *const sv|NN SV *const nsv
94bdecf9 947Apd |void |sv_report_used
23f13727 948Apd |void |sv_reset |NN const char* s|NULLOK HV *const stash
89e38212
SS
949Afpd |void |sv_setpvf |NN SV *const sv|NN const char *const pat|...
950Apd |void |sv_vsetpvf |NN SV *const sv|NN const char *const pat|NULLOK va_list *const args
aad570aa 951Apd |void |sv_setiv |NN SV *const sv|const IV num
89e38212 952Apdb |void |sv_setpviv |NN SV *const sv|const IV num
aad570aa
SS
953Apd |void |sv_setuv |NN SV *const sv|const UV num
954Apd |void |sv_setnv |NN SV *const sv|const NV num
12964ddd
SS
955Apd |SV* |sv_setref_iv |NN SV *const rv|NULLOK const char *const classname|const IV iv
956Apd |SV* |sv_setref_uv |NN SV *const rv|NULLOK const char *const classname|const UV uv
957Apd |SV* |sv_setref_nv |NN SV *const rv|NULLOK const char *const classname|const NV nv
958Apd |SV* |sv_setref_pv |NN SV *const rv|NULLOK const char *const classname \
959 |NULLOK void *const pv
960Apd |SV* |sv_setref_pvn |NN SV *const rv|NULLOK const char *const classname \
961 |NN const char *const pv|const STRLEN n
2e000ff2
SS
962Apd |void |sv_setpv |NN SV *const sv|NULLOK const char *const ptr
963Apd |void |sv_setpvn |NN SV *const sv|NULLOK const char *const ptr|const STRLEN len
4048f010 964Amdb |void |sv_setsv |NN SV *dstr|NULLOK SV *sstr
aae9cea0 965Amdb |void |sv_taint |NN SV* sv
89e38212 966ApdR |bool |sv_tainted |NN SV *const sv
2b021c53 967Apd |int |sv_unmagic |NN SV *const sv|const int type
174c73e3 968Apdmb |void |sv_unref |NN SV* sv
89e38212
SS
969Apd |void |sv_unref_flags |NN SV *const ref|const U32 flags
970Apd |void |sv_untaint |NN SV *const sv
aad570aa 971Apd |void |sv_upgrade |NN SV *const sv|svtype new_type
47518d95 972Apdmb |void |sv_usepvn |NN SV* sv|NULLOK char* ptr|STRLEN len
2e000ff2
SS
973Apd |void |sv_usepvn_flags|NN SV *const sv|NULLOK char* ptr|const STRLEN len\
974 |const U32 flags
66ceb532
SS
975Apd |void |sv_vcatpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
976 |NULLOK va_list *const args|NULLOK SV **const svargs|const I32 svmax \
977 |NULLOK bool *const maybe_tainted
978Apd |void |sv_vsetpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
979 |NULLOK va_list *const args|NULLOK SV **const svargs \
980 |const I32 svmax|NULLOK bool *const maybe_tainted
aec46f14
AL
981ApR |NV |str_to_version |NN SV *sv
982Ap |SV* |swash_init |NN const char* pkg|NN const char* name|NN SV* listsv|I32 minbits|I32 none
680c470c 983Ap |UV |swash_fetch |NN SV *swash|NN const U8 *ptr|bool do_utf8
94bdecf9 984Ap |void |taint_env
e1c41806 985Ap |void |taint_proper |NULLOK const char* f|NN const char *const s
9a957fbc 986Apd |UV |to_utf8_case |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp \
7827dc65 987 |NN SV **swashp|NN const char *normal|NN const char *special
9a957fbc
AL
988Apd |UV |to_utf8_lower |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
989Apd |UV |to_utf8_upper |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
990Apd |UV |to_utf8_title |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
991Apd |UV |to_utf8_fold |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
94bdecf9 992#if defined(UNLINK_ALL_VERSIONS)
6e732051 993Ap |I32 |unlnk |NN const char* f
94bdecf9 994#endif
aec46f14
AL
995Apd |I32 |unpack_str |NN const char *pat|NN const char *patend|NN const char *s \
996 |NULLOK const char *strbeg|NN const char *strend|NULLOK char **new_s \
997 |I32 ocnt|U32 flags
998Apd |I32 |unpackstring |NN const char *pat|NN const char *patend|NN const char *s \
999 |NN const char *strend|U32 flags
1000Ap |void |unsharepvn |NULLOK const char* sv|I32 len|U32 hash
78197f2f 1001p |void |unshare_hek |NULLOK HEK* hek
eb8433b7
NC
1002#ifdef PERL_MAD
1003p |OP * |utilize |int aver|I32 floor|NULLOK OP* version \
1004 |NN OP* idop|NULLOK OP* arg
1005#else
aec46f14 1006p |void |utilize |int aver|I32 floor|NULLOK OP* version|NN OP* idop|NULLOK OP* arg
eb8433b7 1007#endif
aec46f14
AL
1008Ap |U8* |utf16_to_utf8 |NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
1009Ap |U8* |utf16_to_utf8_reversed|NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
a3b680e6
AL
1010AdpPR |STRLEN |utf8_length |NN const U8* s|NN const U8 *e
1011ApdPR |IV |utf8_distance |NN const U8 *a|NN const U8 *b
1012ApdPR |U8* |utf8_hop |NN const U8 *s|I32 off
4373e329 1013ApMd |U8* |utf8_to_bytes |NN U8 *s|NN STRLEN *len
aec46f14
AL
1014ApMd |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *len|NULLOK bool *is_utf8
1015ApMd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *len
1016Apd |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
1017Apd |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
1754c1a1
NC
1018
1019#ifdef EBCDIC
aec46f14 1020Adp |UV |utf8n_to_uvchr |NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1754c1a1
NC
1021#else
1022Adpbm |UV |utf8n_to_uvchr |NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1023#endif
1024
aec46f14 1025Adp |UV |utf8n_to_uvuni |NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1754c1a1
NC
1026
1027#ifdef EBCDIC
4373e329 1028Apd |U8* |uvchr_to_utf8 |NN U8 *d|UV uv
1754c1a1
NC
1029#else
1030Apdbm |U8* |uvchr_to_utf8 |NN U8 *d|UV uv
1031#endif
1032
038e8d3c 1033Apbm |U8* |uvuni_to_utf8 |NN U8 *d|UV uv
4373e329
AL
1034Ap |U8* |uvchr_to_utf8_flags |NN U8 *d|UV uv|UV flags
1035Apd |U8* |uvuni_to_utf8_flags |NN U8 *d|UV uv|UV flags
7827dc65
AL
1036Apd |char* |pv_uni_display |NN SV *dsv|NN const U8 *spv|STRLEN len|STRLEN pvlim|UV flags
1037ApdR |char* |sv_uni_display |NN SV *dsv|NN SV *ssv|STRLEN pvlim|UV flags
6d9a2efc 1038EXp |void |vivify_defelem |NN SV* sv
aec46f14
AL
1039p |void |vivify_ref |NN SV* sv|U32 to_what
1040p |I32 |wait4pid |Pid_t pid|NN int* statusp|int flags
7827dc65 1041p |U32 |parse_unicode_opts|NN const char **popt
0a87c459 1042Ap |U32 |seed
890ce7af 1043pR |UV |get_hash_seed
aec46f14 1044p |void |report_evil_fh |NULLOK const GV *gv|NULLOK const IO *io|I32 op
b3dbd76e 1045XEpd |void |report_uninit |NULLOK const SV *uninit_sv
aec46f14
AL
1046Afpd |void |warn |NN const char* pat|...
1047Ap |void |vwarn |NN const char* pat|NULLOK va_list* args
1048Afp |void |warner |U32 err|NN const char* pat|...
1049Ap |void |vwarner |U32 err|NN const char* pat|NULLOK va_list* args
1050p |void |watch |NN char** addr
1051Ap |I32 |whichsig |NN const char* sig
1052p |void |write_to_stderr|NN const char* message|int msglen
15f169a1 1053p |int |yyerror |NN const char *const s
6d9a2efc 1054EXp |int |yylex
94bdecf9 1055p |int |yyparse
734c2451 1056p |void |parser_free |NN const yy_parser *parser
af41e527
NC
1057#if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
1058s |int |yywarn |NN const char *const s
1059#endif
94bdecf9 1060#if defined(MYMALLOC)
6e9b0e18 1061Ap |void |dump_mstats |NN const char* s
ec1aec95 1062Ap |int |get_mstats |NN perl_mstats_t *buf|int buflen|int level
94bdecf9 1063#endif
4373e329
AL
1064Anpa |Malloc_t|safesysmalloc |MEM_SIZE nbytes
1065Anpa |Malloc_t|safesyscalloc |MEM_SIZE elements|MEM_SIZE size
1066Anpa |Malloc_t|safesysrealloc|Malloc_t where|MEM_SIZE nbytes
94bdecf9 1067Anp |Free_t |safesysfree |Malloc_t where
94bdecf9
JH
1068#if defined(PERL_GLOBAL_STRUCT)
1069Ap |struct perl_vars *|GetVars
77304e85 1070Ap |struct perl_vars*|init_global_struct
7827dc65 1071Ap |void |free_global_struct|NN struct perl_vars *plvarsp
94bdecf9
JH
1072#endif
1073Ap |int |runops_standard
1074Ap |int |runops_debug
66ceb532
SS
1075Afpd |void |sv_catpvf_mg |NN SV *const sv|NN const char *const pat|...
1076Apd |void |sv_vcatpvf_mg |NN SV *const sv|NN const char *const pat \
1077 |NULLOK va_list *const args
2b021c53 1078Apd |void |sv_catpv_mg |NN SV *const sv|NULLOK const char *const ptr
b347df82 1079Apdbm |void |sv_catpvn_mg |NN SV *sv|NN const char *ptr|STRLEN len
4048f010 1080Apdbm |void |sv_catsv_mg |NN SV *dsv|NULLOK SV *ssv
89e38212
SS
1081Afpd |void |sv_setpvf_mg |NN SV *const sv|NN const char *const pat|...
1082Apd |void |sv_vsetpvf_mg |NN SV *const sv|NN const char *const pat \
1083 |NULLOK va_list *const args
aad570aa 1084Apd |void |sv_setiv_mg |NN SV *const sv|const IV i
89e38212 1085Apdb |void |sv_setpviv_mg |NN SV *const sv|const IV iv
aad570aa
SS
1086Apd |void |sv_setuv_mg |NN SV *const sv|const UV u
1087Apd |void |sv_setnv_mg |NN SV *const sv|const NV num
2e000ff2
SS
1088Apd |void |sv_setpv_mg |NN SV *const sv|NULLOK const char *const ptr
1089Apd |void |sv_setpvn_mg |NN SV *const sv|NN const char *const ptr|const STRLEN len
7bc54cea 1090Apd |void |sv_setsv_mg |NN SV *const dstr|NULLOK SV *const sstr
47518d95 1091Apdbm |void |sv_usepvn_mg |NN SV *sv|NULLOK char *ptr|STRLEN len
aec46f14 1092ApR |MGVTBL*|get_vtbl |int vtbl_id
3df15adc 1093Apd |char* |pv_display |NN SV *dsv|NN const char *pv|STRLEN cur|STRLEN len \
94bdecf9 1094 |STRLEN pvlim
ddc5bc0f 1095Apd |char* |pv_escape |NN SV *dsv|NN char const * const str\
ab3bbdeb
YO
1096 |const STRLEN count|const STRLEN max\
1097 |NULLOK STRLEN * const escaped\
1098 |const U32 flags
ddc5bc0f 1099Apd |char* |pv_pretty |NN SV *dsv|NN char const * const str\
ab3bbdeb 1100 |const STRLEN count|const STRLEN max\
ddc5bc0f
YO
1101 |NULLOK char const * const start_color\
1102 |NULLOK char const * const end_color\
ab3bbdeb 1103 |const U32 flags
aec46f14
AL
1104Afp |void |dump_indent |I32 level|NN PerlIO *file|NN const char* pat|...
1105Ap |void |dump_vindent |I32 level|NN PerlIO *file|NN const char* pat \
1106 |NULLOK va_list *args
b4390064
NC
1107Ap |void |do_gv_dump |I32 level|NN PerlIO *file|NN const char *name\
1108 |NULLOK GV *sv
1109Ap |void |do_gvgv_dump |I32 level|NN PerlIO *file|NN const char *name\
1110 |NULLOK GV *sv
4c31e473
NC
1111Ap |void |do_hv_dump |I32 level|NN PerlIO *file|NN const char *name\
1112 |NULLOK HV *sv
aec46f14 1113Ap |void |do_magic_dump |I32 level|NN PerlIO *file|NN const MAGIC *mg|I32 nest \
94bdecf9 1114 |I32 maxnest|bool dumpops|STRLEN pvlim
aec46f14
AL
1115Ap |void |do_op_dump |I32 level|NN PerlIO *file|NULLOK const OP *o
1116Ap |void |do_pmop_dump |I32 level|NN PerlIO *file|NULLOK const PMOP *pm
1b6737cc 1117Ap |void |do_sv_dump |I32 level|NN PerlIO *file|NULLOK SV *sv|I32 nest \
94bdecf9 1118 |I32 maxnest|bool dumpops|STRLEN pvlim
1b6737cc 1119Ap |void |magic_dump |NULLOK const MAGIC *mg
94bdecf9 1120Ap |void |reginitcolors
cb2f1b7b
NC
1121ApdRmb |char* |sv_2pv_nolen |NN SV* sv
1122ApdRmb |char* |sv_2pvutf8_nolen|NN SV* sv
1123ApdRmb |char* |sv_2pvbyte_nolen|NN SV* sv
b64e5050
AL
1124AmdbR |char* |sv_pv |NN SV *sv
1125AmdbR |char* |sv_pvutf8 |NN SV *sv
1126AmdbR |char* |sv_pvbyte |NN SV *sv
1127Amdb |STRLEN |sv_utf8_upgrade|NN SV *sv
7bc54cea
SS
1128ApdM |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok
1129Apd |void |sv_utf8_encode |NN SV *const sv
1130ApdM |bool |sv_utf8_decode |NN SV *const sv
5abc721d 1131Apdmb |void |sv_force_normal|NN SV *sv
2e000ff2 1132Apd |void |sv_force_normal_flags|NN SV *const sv|const U32 flags
94bdecf9 1133Ap |void |tmps_grow |I32 n
2b021c53 1134Apd |SV* |sv_rvweaken |NN SV *const sv
b64e5050 1135p |int |magic_killbackrefs|NN SV *sv|NN MAGIC *mg
46c461b5 1136Ap |OP* |newANONATTRSUB |I32 floor|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
aec46f14 1137Ap |CV* |newATTRSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
eb8433b7
NC
1138#ifdef PERL_MAD
1139Apr |OP * |newMYSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto \
1140 |NULLOK OP *attrs|NULLOK OP *block
1141#else
46c461b5 1142Apr |void |newMYSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
eb8433b7 1143#endif
46c461b5 1144p |OP * |my_attrs |NN OP *o|NULLOK OP *attrs
94bdecf9
JH
1145p |void |boot_core_xsutils
1146#if defined(USE_ITHREADS)
6c047da7
YST
1147ApR |PERL_CONTEXT*|cx_dup |NULLOK PERL_CONTEXT* cx|I32 ix|I32 max|NN CLONE_PARAMS* param
1148ApR |PERL_SI*|si_dup |NULLOK PERL_SI* si|NN CLONE_PARAMS* param
aec46f14 1149Apa |ANY* |ss_dup |NN PerlInterpreter* proto_perl|NN CLONE_PARAMS* param
6c047da7
YST
1150ApR |void* |any_dup |NULLOK void* v|NN const PerlInterpreter* proto_perl
1151ApR |HE* |he_dup |NULLOK const HE* e|bool shared|NN CLONE_PARAMS* param
1152ApR |HEK* |hek_dup |NULLOK HEK* e|NN CLONE_PARAMS* param
288b8c02
NC
1153Ap |void |re_dup_guts |NN const REGEXP *sstr|NN REGEXP *dstr \
1154 |NN CLONE_PARAMS* param
66ceb532
SS
1155Ap |PerlIO*|fp_dup |NULLOK PerlIO *const fp|const char type|NN CLONE_PARAMS *const param
1156ApR |DIR* |dirp_dup |NULLOK DIR *const dp
1157ApR |GP* |gp_dup |NULLOK GP *const gp|NN CLONE_PARAMS *const param
b88ec9b8 1158ApR |MAGIC* |mg_dup |NULLOK MAGIC *mg|NN CLONE_PARAMS *const param
1eb6e4ca
SS
1159ApR |SV* |sv_dup |NULLOK const SV *const sstr|NN CLONE_PARAMS *const param
1160Ap |void |rvpv_dup |NN SV *const dstr|NN const SV *const sstr|NN CLONE_PARAMS *const param
66ceb532 1161Ap |yy_parser*|parser_dup |NULLOK const yy_parser *const proto|NN CLONE_PARAMS *const param
4674ade5 1162#endif
53c1dcc0 1163Apa |PTR_TBL_t*|ptr_table_new
1eb6e4ca
SS
1164ApR |void* |ptr_table_fetch|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
1165Ap |void |ptr_table_store|NN PTR_TBL_t *const tbl|NULLOK const void *const oldsv \
1166 |NN void *const newsv
1167Ap |void |ptr_table_split|NN PTR_TBL_t *const tbl
1168Ap |void |ptr_table_clear|NULLOK PTR_TBL_t *const tbl
1169Ap |void |ptr_table_free|NULLOK PTR_TBL_t *const tbl
4674ade5 1170#if defined(USE_ITHREADS)
504618e9
AL
1171# if defined(HAVE_INTERP_INTERN)
1172Ap |void |sys_intern_dup |NN struct interp_intern* src|NN struct interp_intern* dst
ddacffcf
SH
1173# endif
1174#endif
1175#if defined(HAVE_INTERP_INTERN)
94bdecf9
JH
1176Ap |void |sys_intern_clear
1177Ap |void |sys_intern_init
1178#endif
1179
4048f010
NC
1180ApR |const char * |custom_op_name |NN const OP *o
1181ApR |const char * |custom_op_desc |NN const OP *o
94bdecf9 1182
c48640ec
AL
1183Adp |void |sv_nosharing |NULLOK SV *sv
1184Adpbm |void |sv_nolocking |NULLOK SV *sv
eba16661 1185Adp |bool |sv_destroyable |NULLOK SV *sv
d0647d4e 1186#ifdef NO_MATHOMS
c48640ec 1187Adpbm |void |sv_nounlocking |NULLOK SV *sv
d0647d4e
NC
1188#else
1189Adpb |void |sv_nounlocking |NULLOK SV *sv
1190#endif
62375a60 1191Adp |int |nothreadhook
94bdecf9
JH
1192
1193END_EXTERN_C
1194
94bdecf9 1195#if defined(PERL_IN_DOOP_C) || defined(PERL_DECL_PROT)
c395bd6c
AL
1196sR |I32 |do_trans_simple |NN SV * const sv
1197sR |I32 |do_trans_count |NN SV * const sv
1198sR |I32 |do_trans_complex |NN SV * const sv
1199sR |I32 |do_trans_simple_utf8 |NN SV * const sv
1200sR |I32 |do_trans_count_utf8 |NN SV * const sv
1201sR |I32 |do_trans_complex_utf8 |NN SV * const sv
94bdecf9
JH
1202#endif
1203
1204#if defined(PERL_IN_GV_C) || defined(PERL_DECL_PROT)
fe9845cc 1205s |void |gv_init_sv |NN GV *gv|const svtype sv_type
7d3b1f61 1206s |HV* |gv_get_super_pkg|NN const char* name|I32 namelen
44a2ac75
YO
1207s |HV* |require_tie_mod|NN GV *gv|NN const char *varpv|NN SV* namesv \
1208 |NN const char *methpv|const U32 flags
94bdecf9
JH
1209#endif
1210
5e258f8c 1211: #if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
de37a194 1212paRxo |void* |get_arena |const size_t svtype|const U32 misc
5e258f8c
JC
1213: #endif
1214
94bdecf9 1215#if defined(PERL_IN_HV_C) || defined(PERL_DECL_PROT)
53c1dcc0 1216s |void |hsplit |NN HV *hv
3abe233e 1217s |void |hfreeentries |NN HV *hv
53c1dcc0 1218sa |HE* |new_he
5f66b61c 1219sanR |HEK* |save_hek_flags |NN const char *str|I32 len|U32 hash|int flags
b0e6ae5b 1220sn |void |hv_magic_check |NN HV *hv|NN bool *needs_copy|NN bool *needs_store
1b6737cc 1221s |void |unshare_hek_or_pvn|NULLOK const HEK* hek|NULLOK const char* str|I32 len|U32 hash
4048f010 1222sR |HEK* |share_hek_flags|NN const char *str|I32 len|U32 hash|int flags
1df70142 1223rs |void |hv_notallowed |int flags|NN const char *key|I32 klen|NN const char *msg
db93dab8 1224sn |struct xpvhv_aux*|hv_auxinit|NN HV *hv
4048f010
NC
1225sM |SV* |hv_delete_common|NULLOK HV *hv|NULLOK SV *keysv \
1226 |NULLOK const char *key|STRLEN klen|int k_flags|I32 d_flags \
1227 |U32 hash
1228sM |void |clear_placeholders |NN HV *hv|U32 items
7b0bddfa 1229sM |SV * |refcounted_he_value |NN const struct refcounted_he *he
94bdecf9
JH
1230#endif
1231
1232#if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT)
504618e9
AL
1233s |void |save_magic |I32 mgs_ix|NN SV *sv
1234s |int |magic_methpack |NN SV *sv|NN const MAGIC *mg|NN const char *meth
1235s |int |magic_methcall |NN SV *sv|NN const MAGIC *mg|NN const char *meth|I32 f \
aec46f14 1236 |int n|NULLOK SV *val
251cc6a6 1237s |void |restore_magic |NULLOK const void *p
8772537c
AL
1238s |void |unwind_handler_stack|NN const void *p
1239
94bdecf9
JH
1240#endif
1241
1242#if defined(PERL_IN_OP_C) || defined(PERL_DECL_PROT)
1cf743e1
RGS
1243pR |OP* |ck_anoncode |NN OP *o
1244pR |OP* |ck_bitop |NN OP *o
1245pR |OP* |ck_concat |NN OP *o
1246pR |OP* |ck_defined |NN OP *o
1247pR |OP* |ck_delete |NN OP *o
1248pR |OP* |ck_die |NN OP *o
1249pR |OP* |ck_eof |NN OP *o
1250pR |OP* |ck_eval |NN OP *o
1251pR |OP* |ck_exec |NN OP *o
1252pR |OP* |ck_exists |NN OP *o
1253pR |OP* |ck_exit |NN OP *o
1254pR |OP* |ck_ftst |NN OP *o
1255pR |OP* |ck_fun |NN OP *o
1256pR |OP* |ck_glob |NN OP *o
1257pR |OP* |ck_grep |NN OP *o
1258pR |OP* |ck_index |NN OP *o
1259pR |OP* |ck_join |NN OP *o
1cf743e1
RGS
1260pR |OP* |ck_lfun |NN OP *o
1261pR |OP* |ck_listiob |NN OP *o
1262pR |OP* |ck_match |NN OP *o
1263pR |OP* |ck_method |NN OP *o
1264pR |OP* |ck_null |NN OP *o
1265pR |OP* |ck_open |NN OP *o
e4b7ebf3 1266pR |OP* |ck_readline |NN OP *o
1cf743e1
RGS
1267pR |OP* |ck_repeat |NN OP *o
1268pR |OP* |ck_require |NN OP *o
1cf743e1
RGS
1269pR |OP* |ck_return |NN OP *o
1270pR |OP* |ck_rfun |NN OP *o
1271pR |OP* |ck_rvconst |NN OP *o
1272pR |OP* |ck_sassign |NN OP *o
1273pR |OP* |ck_select |NN OP *o
1274pR |OP* |ck_shift |NN OP *o
1275pR |OP* |ck_sort |NN OP *o
1276pR |OP* |ck_spair |NN OP *o
1277pR |OP* |ck_split |NN OP *o
1278pR |OP* |ck_subr |NN OP *o
1279pR |OP* |ck_substr |NN OP *o
1280pR |OP* |ck_svconst |NN OP *o
1281pR |OP* |ck_trunc |NN OP *o
1282pR |OP* |ck_unpack |NN OP *o
878d132a 1283pR |OP* |ck_each |NN OP *o
5f66b61c 1284sRn |bool |is_handle_constructor|NN const OP *o|I32 numargs
aec46f14 1285sR |I32 |is_list_assignment|NULLOK const OP *o
c4bd3ae5
NC
1286# ifdef USE_ITHREADS
1287so |void |forget_pmop |NN PMOP *const o|U32 flags
1288# else
1289so |void |forget_pmop |NN PMOP *const o
1290# endif
bfd0ff22 1291s |void |find_and_forget_pmops |NN OP *o
504618e9 1292s |void |cop_free |NN COP *cop
46c461b5 1293s |OP* |modkids |NULLOK OP *o|I32 type
504618e9
AL
1294s |OP* |scalarboolean |NN OP *o
1295sR |OP* |newDEFSVOP
71c4dbc3 1296sR |OP* |search_const |NN OP *o
504618e9
AL
1297sR |OP* |new_logop |I32 type|I32 flags|NN OP **firstp|NN OP **otherp
1298s |void |simplify_sort |NN OP *o
aec46f14 1299s |const char* |gv_ename |NN GV *gv
5f66b61c 1300sRn |bool |scalar_mod_type|NN const OP *o|I32 type
aec46f14
AL
1301s |OP * |my_kid |NULLOK OP *o|NULLOK OP *attrs|NN OP **imopsp
1302s |OP * |dup_attrlist |NN OP *o
1303s |void |apply_attrs |NN HV *stash|NN SV *target|NULLOK OP *attrs|bool for_my
1304s |void |apply_attrs_my |NN HV *stash|NN OP *target|NULLOK OP *attrs|NN OP **imopsp
504618e9
AL
1305s |void |bad_type |I32 n|NN const char *t|NN const char *name|NN const OP *kid
1306s |void |no_bareword_allowed|NN const OP *o
1307sR |OP* |no_fh_allowed|NN OP *o
1308sR |OP* |too_few_arguments|NN OP *o|NN const char* name
1309sR |OP* |too_many_arguments|NN OP *o|NN const char* name
ef519e13 1310s |bool |looks_like_bool|NN const OP* o
0d863452
RH
1311s |OP* |newGIVWHENOP |NULLOK OP* cond|NN OP *block \
1312 |I32 enter_opcode|I32 leave_opcode \
1313 |PADOFFSET entertarg
1314s |OP* |ref_array_or_hash|NULLOK OP* cond
33fb7a6e
NC
1315s |void |process_special_blocks |NN const char *const fullname\
1316 |NN GV *const gv|NN CV *const cv
c7e45529
AE
1317#endif
1318#if defined(PL_OP_SLAB_ALLOC)
e91d68d5 1319Apa |void* |Slab_Alloc |size_t sz
aec46f14 1320Ap |void |Slab_Free |NN void *op
f1fac472
NC
1321# if defined(PERL_DEBUG_READONLY_OPS)
1322poxM |void |pending_Slabs_to_ro
fc97af9c
NC
1323poxM |OP * |op_refcnt_inc |NULLOK OP *o
1324poxM |PADOFFSET |op_refcnt_dec |NN OP *o
f1fac472
NC
1325# if defined(PERL_IN_OP_C)
1326s |void |Slab_to_rw |NN void *op
1327# endif
1328# endif
94bdecf9
JH
1329#endif
1330
1331#if defined(PERL_IN_PERL_C) || defined(PERL_DECL_PROT)
2f9285f8 1332s |void |find_beginning |NN SV* linestr_sv|NN PerlIO *rsfp
f20b2998 1333s |void |forbid_setid |const char flag|const bool suidscript
aec46f14 1334s |void |incpush |NULLOK const char *dir|bool addsubdirs|bool addoldvers|bool usesep|bool canrelocate
94bdecf9
JH
1335s |void |init_interp
1336s |void |init_ids
94bdecf9
JH
1337s |void |init_main_stash
1338s |void |init_perllib
aec46f14 1339s |void |init_postdump_symbols|int argc|NN char **argv|NULLOK char **env
94bdecf9
JH
1340s |void |init_predump_symbols
1341rs |void |my_exit_jump
1342s |void |nuke_stacks
cdd8118e 1343s |int |open_script |NN const char *scriptname|bool dosearch \
f20b2998 1344 |NN bool *suidscript|NN PerlIO **rsfpp
aec46f14 1345s |void |usage |NN const char *name
ec2019ad
NC
1346#ifdef DOSUID
1347# ifdef IAMSUID
1348so |void |validate_suid |NN const char *validarg \
1349 |int fdscript \
f20b2998 1350 |bool suidscript|NN SV* linestr_sv \
2f9285f8 1351 |NN PerlIO *rsfp
ec2019ad
NC
1352# else
1353so |void |validate_suid |NN const char *validarg \
1354 |NN const char *scriptname|int fdscript \
1355 |NN SV* linestr_sv \
1356 |NN PerlIO *rsfp
1357# endif
1358#else
1359# ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
1360so |void |validate_suid |NN PerlIO *rsfp
1361# endif
1362#endif
2f9285f8 1363
94bdecf9
JH
1364# if defined(IAMSUID)
1365s |int |fd_on_nosuid_fs|int fd
1366# endif
aec46f14 1367s |void* |parse_body |NULLOK char **env|XSINIT_t xsinit
dd374669 1368rs |void |run_body |I32 oldscope
0bd48802 1369s |SV * |incpush_if_exists|NN SV *dir
94bdecf9
JH
1370#endif
1371
1372#if defined(PERL_IN_PP_C) || defined(PERL_DECL_PROT)
aec46f14 1373sR |SV* |refto |NN SV* sv
94bdecf9 1374#endif
dc3c76f8
NC
1375#if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT)
1376pRxo |GV* |softref2xv |NN SV *const sv|NN const char *const what \
fe9845cc 1377 |const svtype type|NN SV ***spp
dc3c76f8 1378#endif
94bdecf9
JH
1379
1380#if defined(PERL_IN_PP_PACK_C) || defined(PERL_DECL_PROT)
aec46f14
AL
1381s |I32 |unpack_rec |NN struct tempsym* symptr|NN const char *s \
1382 |NN const char *strbeg|NN const char *strend|NULLOK const char **new_s
1383s |SV ** |pack_rec |NN SV *cat|NN struct tempsym* symptr|NN SV **beglist|NN SV **endlist
4373e329
AL
1384s |SV* |mul128 |NN SV *sv|U8 m
1385s |I32 |measure_struct |NN struct tempsym* symptr
1386s |bool |next_symbol |NN struct tempsym* symptr
1df70142 1387sR |SV* |is_an_int |NN const char *s|STRLEN l
4373e329 1388s |int |div128 |NN SV *pnum|NN bool *done
4048f010
NC
1389s |const char *|group_end |NN const char *patptr|NN const char *patend \
1390 |char ender
1391sR |const char *|get_num |NN const char *patptr|NN I32 *lenptr
aec46f14
AL
1392ns |bool |need_utf8 |NN const char *pat|NN const char *patend
1393ns |char |first_symbol |NN const char *pat|NN const char *patend
0bd48802 1394sR |char * |sv_exp_grow |NN SV *sv|STRLEN needed
14333449 1395snR |char * |bytes_to_uni |NN const U8 *start|STRLEN len|NN char *dest
94bdecf9
JH
1396#endif
1397
1398#if defined(PERL_IN_PP_CTL_C) || defined(PERL_DECL_PROT)
46c461b5 1399sR |OP* |docatch |NULLOK OP *o
aec46f14
AL
1400sR |OP* |dofindlabel |NN OP *o|NN const char *label|NN OP **opstack|NN OP **oplimit
1401sR |OP* |doparseform |NN SV *sv
901017d6
AL
1402snR |bool |num_overflow |NV value|I32 fldsize|I32 frcsize
1403sR |I32 |dopoptoeval |I32 startingblock
0d863452 1404sR |I32 |dopoptogiven |I32 startingblock
901017d6
AL
1405sR |I32 |dopoptolabel |NN const char *label
1406sR |I32 |dopoptoloop |I32 startingblock
aec46f14 1407sR |I32 |dopoptosub_at |NN const PERL_CONTEXT* cxstk|I32 startingblock
0d863452 1408sR |I32 |dopoptowhen |I32 startingblock
46c461b5 1409s |void |save_lines |NULLOK AV *array|NN SV *sv
410be5db 1410s |bool |doeval |int gimme|NULLOK OP** startop|NULLOK CV* outside|U32 seq
0786552a 1411sR |PerlIO *|check_type_and_open|NN const char *name
75c20bac 1412#ifndef PERL_DISABLE_PMC
0786552a 1413sR |PerlIO *|doopen_pm |NN const char *name|const STRLEN namelen
75c20bac 1414#endif
5f66b61c 1415sRn |bool |path_is_absolute|NN const char *name
0bd48802 1416sR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen
84679df5 1417sR |PMOP* |make_matcher |NN REGEXP* re
0d863452
RH
1418sR |bool |matcher_matches_sv|NN PMOP* matcher|NN SV* sv
1419s |void |destroy_matcher|NN PMOP* matcher
1420s |OP* |do_smartmatch |NULLOK HV* seen_this|NULLOK HV* seen_other
94bdecf9
JH
1421#endif
1422
1423#if defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT)
a28509cc 1424s |void |do_oddball |NN HV *hash|NN SV **relem|NN SV **firstrelem
46c461b5 1425sR |SV* |method_common |NN SV* meth|NULLOK U32* hashp
94bdecf9
JH
1426#endif
1427
f0f5dc9d 1428#if defined(PERL_IN_PP_SORT_C) || defined(PERL_DECL_PROT)
31e9e0a3
SH
1429s |I32 |sv_ncmp |NN SV *const a|NN SV *const b
1430s |I32 |sv_i_ncmp |NN SV *const a|NN SV *const b
1431s |I32 |amagic_ncmp |NN SV *const a|NN SV *const b
1432s |I32 |amagic_i_ncmp |NN SV *const a|NN SV *const b
1433s |I32 |amagic_cmp |NN SV *const str1|NN SV *const str2
1434s |I32 |amagic_cmp_locale|NN SV *const str1|NN SV *const str2
1435s |I32 |sortcv |NN SV *const a|NN SV *const b
1436s |I32 |sortcv_xsub |NN SV *const a|NN SV *const b
1437s |I32 |sortcv_stacked |NN SV *const a|NN SV *const b
3d4dd4c7 1438s |void |qsortsvu |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t compare
f0f5dc9d
AL
1439#endif
1440
94bdecf9 1441#if defined(PERL_IN_PP_SYS_C) || defined(PERL_DECL_PROT)
b464bac0 1442s |OP* |doform |NN CV *cv|NN GV *gv|NN OP *retop
94bdecf9 1443# if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
b464bac0 1444sR |int |dooneliner |NN const char *cmd|NN const char *filename
94bdecf9 1445# endif
5cdc4e88 1446s |SV * |space_join_names_mortal|NN char *const *array
94bdecf9
JH
1447#endif
1448
1449#if defined(PERL_IN_REGCOMP_C) || defined(PERL_DECL_PROT)
4048f010
NC
1450Es |regnode*|reg |NN struct RExC_state_t *pRExC_state \
1451 |I32 paren|NN I32 *flagp|U32 depth
1452Es |regnode*|reganode |NN struct RExC_state_t *pRExC_state|U8 op \
1453 |U32 arg
1454Es |regnode*|regatom |NN struct RExC_state_t *pRExC_state \
1455 |NN I32 *flagp|U32 depth
1456Es |regnode*|regbranch |NN struct RExC_state_t *pRExC_state \
1457 |NN I32 *flagp|I32 first|U32 depth
1458Es |STRLEN |reguni |NN const struct RExC_state_t *pRExC_state \
1459 |UV uv|NN char *s
1460Es |regnode*|regclass |NN struct RExC_state_t *pRExC_state|U32 depth
734c2451 1461ERsn |I32 |regcurly |NN const char *s
4048f010 1462Es |regnode*|reg_node |NN struct RExC_state_t *pRExC_state|U8 op
c86f7df5 1463Es |UV |reg_recode |const char value|NN SV **encp
4048f010
NC
1464Es |regnode*|regpiece |NN struct RExC_state_t *pRExC_state \
1465 |NN I32 *flagp|U32 depth
1466Es |regnode*|reg_namedseq |NN struct RExC_state_t *pRExC_state \
1467 |NULLOK UV *valuep
1468Es |void |reginsert |NN struct RExC_state_t *pRExC_state \
1469 |U8 op|NN regnode *opnd|U32 depth
1470Es |void |regtail |NN struct RExC_state_t *pRExC_state \
1471 |NN regnode *p|NN const regnode *val|U32 depth
1472Es |SV * |reg_scan_name |NN struct RExC_state_t *pRExC_state \
1473 |U32 flags
1474Es |U32 |join_exact |NN struct RExC_state_t *pRExC_state \
1475 |NN regnode *scan|NN I32 *min|U32 flags|NULLOK regnode *val|U32 depth
1476EsRn |char * |regwhite |NN struct RExC_state_t *pRExC_state \
1477 |NN char *p
1478Es |char * |nextchar |NN struct RExC_state_t *pRExC_state
1479Es |bool |reg_skipcomment|NN struct RExC_state_t *pRExC_state
1480Es |void |scan_commit |NN const struct RExC_state_t *pRExC_state \
1481 |NN struct scan_data_t *data|NN I32 *minlenp \
1482 |int is_inf
1483Esn |void |cl_anything |NN const struct RExC_state_t *pRExC_state \
1484 |NN struct regnode_charclass_class *cl
5f66b61c 1485EsRn |int |cl_is_anything |NN const struct regnode_charclass_class *cl
4048f010
NC
1486Esn |void |cl_init |NN const struct RExC_state_t *pRExC_state \
1487 |NN struct regnode_charclass_class *cl
1488Esn |void |cl_init_zero |NN const struct RExC_state_t *pRExC_state \
1489 |NN struct regnode_charclass_class *cl
5f66b61c 1490Esn |void |cl_and |NN struct regnode_charclass_class *cl \
46c461b5 1491 |NN const struct regnode_charclass_class *and_with
4048f010
NC
1492Esn |void |cl_or |NN const struct RExC_state_t *pRExC_state \
1493 |NN struct regnode_charclass_class *cl \
a28509cc 1494 |NN const struct regnode_charclass_class *or_with
4048f010
NC
1495Es |I32 |study_chunk |NN struct RExC_state_t *pRExC_state \
1496 |NN regnode **scanp|NN I32 *minlenp \
1497 |NN I32 *deltap|NN regnode *last \
1498 |NULLOK struct scan_data_t *data \
40d049e4
YO
1499 |I32 stopparen|NULLOK U8* recursed \
1500 |NULLOK struct regnode_charclass_class *and_withp \
a3621e74 1501 |U32 flags|U32 depth
4048f010
NC
1502EsRn |U32 |add_data |NN struct RExC_state_t *pRExC_state|U32 n \
1503 |NN const char *s
46c461b5 1504rs |void |re_croak2 |NN const char* pat1|NN const char* pat2|...
4048f010
NC
1505Es |I32 |regpposixcc |NN struct RExC_state_t *pRExC_state|I32 value
1506Es |void |checkposixcc |NN struct RExC_state_t *pRExC_state
1507Es |I32 |make_trie |NN struct RExC_state_t *pRExC_state \
1508 |NN regnode *startbranch|NN regnode *first \
1509 |NN regnode *last|NN regnode *tail \
786e8c11 1510 |U32 word_count|U32 flags|U32 depth
4048f010
NC
1511Es |void |make_trie_failtable |NN struct RExC_state_t *pRExC_state \
1512 |NN regnode *source|NN regnode *stclass \
1513 |U32 depth
3dab1dad 1514# ifdef DEBUGGING
f7819f85 1515Es |void |regdump_extflags|NULLOK const char *lead| const U32 flags
3dab1dad
YO
1516Es |const regnode*|dumpuntil|NN const regexp *r|NN const regnode *start \
1517 |NN const regnode *node \
786e8c11
YO
1518 |NULLOK const regnode *last \
1519 |NULLOK const regnode *plast \
1520 |NN SV* sv|I32 indent|U32 depth
3dab1dad 1521Es |void |put_byte |NN SV* sv|int c
55eed653 1522Es |void |dump_trie |NN const struct _reg_trie_data *trie\
2b8b4781
NC
1523 |NULLOK HV* widecharmap|NN AV *revcharmap\
1524 |U32 depth
55eed653 1525Es |void |dump_trie_interim_list|NN const struct _reg_trie_data *trie\
2b8b4781
NC
1526 |NULLOK HV* widecharmap|NN AV *revcharmap\
1527 |U32 next_alloc|U32 depth
55eed653 1528Es |void |dump_trie_interim_table|NN const struct _reg_trie_data *trie\
2b8b4781
NC
1529 |NULLOK HV* widecharmap|NN AV *revcharmap\
1530 |U32 next_alloc|U32 depth
4048f010
NC
1531Es |U8 |regtail_study |NN struct RExC_state_t *pRExC_state \
1532 |NN regnode *p|NN const regnode *val|U32 depth
3dab1dad 1533# endif
94bdecf9
JH
1534#endif
1535
1536#if defined(PERL_IN_REGEXEC_C) || defined(PERL_DECL_PROT)
24b23f37 1537ERs |I32 |regmatch |NN regmatch_info *reginfo|NN regnode *prog
e2e6a0f1 1538ERs |I32 |regrepeat |NN const regexp *prog|NN const regnode *p|I32 max|int depth
24b23f37 1539ERs |I32 |regtry |NN regmatch_info *reginfo|NN char **startpos
32fc9b6a 1540ERs |bool |reginclass |NULLOK const regexp *prog|NN const regnode *n|NN const U8 *p|NULLOK STRLEN *lenp\
46c461b5 1541 |bool do_utf8sv_is_utf8
de37762f 1542Es |CHECKPOINT|regcppush |I32 parenfloor
097eb12c 1543Es |char* |regcppop |NN const regexp *rex
4048f010 1544ERsn |U8* |reghop3 |NN U8 *s|I32 off|NN const U8 *lim
f9f4320a 1545#ifdef XXX_dmq
4048f010
NC
1546ERsn |U8* |reghop4 |NN U8 *s|I32 off|NN const U8 *llim \
1547 |NN const U8 *rlim
f9f4320a 1548#endif
4048f010 1549ERsn |U8* |reghopmaybe3 |NN U8 *s|I32 off|NN const U8 *lim
24b23f37 1550ERs |char* |find_byclass |NN regexp * prog|NN const regnode *c|NN char *s|NN const char *strend|NULLOK regmatch_info *reginfo
fae667d5 1551Es |void |swap_match_buff|NN regexp * prog
a3b680e6
AL
1552Es |void |to_utf8_substr |NN regexp * prog
1553Es |void |to_byte_substr |NN regexp * prog
4048f010
NC
1554ERs |I32 |reg_check_named_buff_matched |NN const regexp *rex \
1555 |NN const regnode *scan
07be1b83 1556# ifdef DEBUGGING
786e8c11
YO
1557Es |void |dump_exec_pos |NN const char *locinput|NN const regnode *scan|NN const char *loc_regeol\
1558 |NN const char *loc_bostr|NN const char *loc_reg_starttry|const bool do_utf8
efd26800
NC
1559Es |void |debug_start_match|NN const REGEXP *prog|const bool do_utf8\
1560 |NN const char *start|NN const char *end\
1561 |NN const char *blurb
07be1b83 1562# endif
94bdecf9
JH
1563#endif
1564
1565#if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT)
2cedf74c 1566s |CV* |deb_curcv |const I32 ix
46c461b5 1567s |void |debprof |NN const OP *o
0bd48802 1568s |void |sequence |NULLOK const OP *o
294b3b39 1569s |void |sequence_tail |NULLOK const OP *o
0bd48802 1570s |UV |sequence_num |NULLOK const OP *o
4199688e 1571s |SV* |pm_description |NN const PMOP *pm
94bdecf9
JH
1572#endif
1573
1574#if defined(PERL_IN_SCOPE_C) || defined(PERL_DECL_PROT)
af7df257 1575s |SV* |save_scalar_at |NN SV **sptr|const U32 flags
94bdecf9
JH
1576#endif
1577
e15faf7d 1578#if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
2b021c53 1579po |void |sv_add_backref |NN SV *const tsv|NN SV *const sv
e15faf7d
NC
1580#endif
1581
86f55936 1582#if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
2b021c53 1583poM |int |sv_kill_backrefs |NN SV *const sv|NN AV *const av
86f55936
NC
1584#endif
1585
94bdecf9 1586#if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
5de3775c 1587nsR |char * |uiv_2buf |NN char *const buf|const IV iv|UV uv|const int is_uv|NN char **const peob
89e38212 1588s |void |sv_unglob |NN SV *const sv
aad570aa 1589s |void |not_a_number |NN SV *const sv
de37a194 1590s |I32 |visit |NN SVFUNC_t f|const U32 flags|const U32 mask
2b021c53 1591s |void |sv_del_backref |NN SV *const tsv|NN SV *const sv
6c1b357c
NC
1592sR |SV * |varname |NULLOK const GV *const gv|const char gvtype \
1593 |PADOFFSET targ|NULLOK const SV *const keyname \
1594 |I32 aindex|int subscript_type
94bdecf9 1595# ifdef DEBUGGING
46c461b5 1596s |void |del_sv |NN SV *p
94bdecf9
JH
1597# endif
1598# if !defined(NV_PRESERVES_UV)
47031da6 1599# ifdef DEBUGGING
5de3775c 1600s |int |sv_2iuv_non_preserve |NN SV *const sv|I32 numtype
47031da6 1601# else
5de3775c 1602s |int |sv_2iuv_non_preserve |NN SV *const sv
47031da6 1603# endif
94bdecf9 1604# endif
66ceb532 1605sR |I32 |expect_number |NN char **const pattern
94bdecf9 1606#
721e86b6 1607sn |STRLEN |sv_pos_u2b_forwards|NN const U8 *const start \
25a8a4ef 1608 |NN const U8 *const send|STRLEN uoffset
721e86b6 1609sn |STRLEN |sv_pos_u2b_midway|NN const U8 *const start \
af828c01
SS
1610 |NN const U8 *send|const STRLEN uoffset|const STRLEN uend
1611s |STRLEN |sv_pos_u2b_cached|NN SV *const sv|NN MAGIC **const mgp \
25a8a4ef 1612 |NN const U8 *const start|NN const U8 *const send \
af828c01 1613 |const STRLEN uoffset|STRLEN uoffset0|STRLEN boffset0
ac1e9476
SS
1614s |void |utf8_mg_pos_cache_update|NN SV *const sv|NN MAGIC **const mgp \
1615 |const STRLEN byte|const STRLEN utf8|const STRLEN blen
1616s |STRLEN |sv_pos_b2u_midway|NN const U8 *const s|NN const U8 *const target \
25a8a4ef 1617 |NN const U8 *end|STRLEN endu
66ceb532 1618sn |char * |F0convert |NV nv|NN char *const endbuf|NN STRLEN *const len
5f66b61c 1619# if defined(PERL_OLD_COPY_ON_WRITE)
5302ffd4 1620sM |void |sv_release_COW |NN SV *sv|NN const char *pvx|NN SV *after
5f66b61c
AL
1621# endif
1622s |SV * |more_sv
de37a194 1623s |void * |more_bodies |const svtype sv_type
5de3775c 1624s |bool |sv_2iuv_common |NN SV *const sv
7bc54cea
SS
1625s |void |glob_assign_glob|NN SV *const dstr|NN SV *const sstr \
1626 |const int dtype
1627s |void |glob_assign_ref|NN SV *const dstr|NN SV *const sstr
1eb6e4ca 1628sRn |PTR_TBL_ENT_t *|ptr_table_find|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
94bdecf9
JH
1629#endif
1630
1631#if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
1632s |void |check_uni
1633s |void |force_next |I32 type
4048f010 1634s |char* |force_version |NN char *s|int guessing
46c461b5 1635s |char* |force_word |NN char *start|int token|int check_keyword \
94bdecf9 1636 |int allow_pack|int allow_tick
46c461b5 1637s |SV* |tokeq |NN SV *sv
1d51329b 1638s |void |readpipe_override|
46c461b5
AL
1639sR |char* |scan_const |NN char *start
1640sR |char* |scan_formline |NN char *s
1641sR |char* |scan_heredoc |NN char *s
f54cb97a 1642s |char* |scan_ident |NN char *s|NN const char *send|NN char *dest \
94bdecf9 1643 |STRLEN destlen|I32 ck_uni
46c461b5
AL
1644sR |char* |scan_inputsymbol|NN char *start
1645sR |char* |scan_pat |NN char *start|I32 type
1646sR |char* |scan_str |NN char *start|int keep_quoted|int keep_delims
1647sR |char* |scan_subst |NN char *start
1648sR |char* |scan_trans |NN char *start
1649s |char* |scan_word |NN char *s|NN char *dest|STRLEN destlen \
1650 |int allow_package|NN STRLEN *slp
5fa550fb 1651s |void |update_debugger_info|NULLOK SV *orig_sv \
15f169a1 1652 |NULLOK const char *const buf|STRLEN len
46c461b5
AL
1653sR |char* |skipspace |NN char *s
1654sR |char* |swallow_bom |NN U8 *s
c94115d8
NC
1655s |void |checkcomma |NN const char *s|NN const char *name \
1656 |NN const char *what
15f169a1 1657s |bool |feature_is_enabled|NN const char *const name|STRLEN namelen
46c461b5 1658s |void |force_ident |NN const char *s|int kind
d9095cec 1659s |void |incline |NN const char *s
62d55b22 1660s |int |intuit_method |NN char *s|NULLOK GV *gv|NULLOK CV *cv
46c461b5
AL
1661s |int |intuit_more |NN char *s
1662s |I32 |lop |I32 f|int x|NN char *s
1663rs |void |missingterm |NULLOK char *s
15f169a1 1664s |void |no_op |NN const char *const what|NULLOK char *s
46c461b5
AL
1665sR |I32 |sublex_done
1666sR |I32 |sublex_push
1667sR |I32 |sublex_start
890ce7af 1668sR |char * |filter_gets |NN SV *sv|NN PerlIO *fp|STRLEN append
9bde8eb0 1669sR |HV * |find_in_my_stash|NN const char *pkgname|STRLEN len
c48640ec 1670sR |char * |tokenize_use |int is_use|NN char *s
eb0d8d16
NC
1671so |SV* |new_constant |NULLOK const char *s|STRLEN len \
1672 |NN const char *key|STRLEN keylen|NN SV *sv \
1673 |NULLOK SV *pv|NULLOK const char *type \
1674 |STRLEN typelen
94bdecf9 1675s |int |ao |int toketype
94bdecf9 1676# if defined(PERL_CR_FILTER)
9d4ba2ae 1677s |I32 |cr_textfilter |int idx|NULLOK SV *sv|int maxlen
0bd48802 1678s |void |strip_return |NN SV *sv
94bdecf9 1679# endif
c445ea15 1680# if defined(DEBUGGING)
704d4215 1681s |int |tokereport |I32 rv|NN const YYSTYPE* lvalp
83f99444 1682s |void |printbuf |NN const char *const fmt|NN const char *const s
c445ea15 1683# endif
94bdecf9
JH
1684#endif
1685
1686#if defined(PERL_IN_UNIVERSAL_C) || defined(PERL_DECL_PROT)
d43aa7f9 1687s |bool|isa_lookup |NN HV *stash|NN const char * const name
94bdecf9
JH
1688#endif
1689
1690#if defined(PERL_IN_LOCALE_C) || defined(PERL_DECL_PROT)
27da23d5 1691#if defined(USE_LOCALE_NUMERIC) || defined(USE_LOCALE_COLLATE)
8772537c 1692s |char* |stdize_locale |NN char* locs
94bdecf9 1693#endif
27da23d5 1694#endif
94bdecf9
JH
1695
1696#if defined(PERL_IN_UTIL_C) || defined(PERL_DECL_PROT)
5f66b61c 1697s |const COP*|closest_cop |NN const COP *cop|NULLOK const OP *o
94bdecf9 1698s |SV* |mess_alloc
890ce7af
AL
1699s |const char *|vdie_croak_common|NULLOK const char *pat|NULLOK va_list *args \
1700 |NULLOK STRLEN *msglen|NULLOK I32* utf8
46d9c920
NC
1701s |bool |vdie_common |NULLOK const char *message|STRLEN msglen\
1702 |I32 utf8|bool warn
0bd48802 1703sr |char * |write_no_mem
0b0ab801
MHM
1704#if defined(PERL_MEM_LOG) && defined(PERL_MEM_LOG_STDERR)
1705sn |void |mem_log_common |enum mem_log_type mlt|const UV n|const UV typesize \
bef8a128 1706 |NN const char *type_name|NULLOK const SV *sv \
0b0ab801
MHM
1707 |Malloc_t oldalloc|Malloc_t newalloc \
1708 |NN const char *filename|const int linenumber \
1709 |NN const char *funcname
1710#endif
94bdecf9
JH
1711#endif
1712
4801ca72
JH
1713#if defined(PERL_IN_NUMERIC_C) || defined(PERL_DECL_PROT)
1714sn |NV|mulexp10 |NV value|I32 exponent
1715#endif
1716
646ca15d 1717#if defined(PERL_IN_UTF8_C) || defined(PERL_DECL_PROT)
5f66b61c 1718sRn |STRLEN |is_utf8_char_slow|NN const U8 *s|const STRLEN len
979f2922
ST
1719sR |bool |is_utf8_common |NN const U8 *const p|NN SV **swash|NN const char * const swashname
1720sR |SV* |swash_get |NN SV* swash|UV start|UV span
646ca15d
JH
1721#endif
1722
94bdecf9
JH
1723START_EXTERN_C
1724
7bc54cea 1725Apd |void |sv_setsv_flags |NN SV *dstr|NULLOK SV *sstr|const I32 flags
2e000ff2
SS
1726Apd |void |sv_catpvn_flags|NN SV *const dstr|NN const char *sstr|const STRLEN len \
1727 |const I32 flags
1728Apd |void |sv_catsv_flags |NN SV *const dsv|NULLOK SV *const ssv|const I32 flags
7bc54cea 1729Apd |STRLEN |sv_utf8_upgrade_flags|NN SV *const sv|const I32 flags
12964ddd 1730Apd |char* |sv_pvn_force_flags|NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
5de3775c 1731Apd |void |sv_copypv |NN SV *const dsv|NN SV *const ssv
4373e329 1732Ap |char* |my_atof2 |NN const char *s|NN NV* value
94bdecf9 1733Apn |int |my_socketpair |int family|int type|int protocol|int fd[2]
08ea85eb 1734Ap |int |my_dirfd |NULLOK DIR* dir
f8c7b90f 1735#ifdef PERL_OLD_COPY_ON_WRITE
bcfe2509 1736pMXE |SV* |sv_setsv_cow |NN SV* dstr|NN SV* sstr
ed252734 1737#endif
94bdecf9 1738
d070ff45 1739Aop |const char *|PerlIO_context_layers|NULLOK const char *mode
11bcd5da 1740
94bdecf9 1741#if defined(USE_PERLIO) && !defined(USE_SFIO)
46c461b5
AL
1742Ap |int |PerlIO_close |NULLOK PerlIO *f
1743Ap |int |PerlIO_fill |NULLOK PerlIO *f
1744Ap |int |PerlIO_fileno |NULLOK PerlIO *f
1745Ap |int |PerlIO_eof |NULLOK PerlIO *f
1746Ap |int |PerlIO_error |NULLOK PerlIO *f
1747Ap |int |PerlIO_flush |NULLOK PerlIO *f
1748Ap |void |PerlIO_clearerr |NULLOK PerlIO *f
1749Ap |void |PerlIO_set_cnt |NULLOK PerlIO *f|int cnt
3d4dd4c7
NC
1750Ap |void |PerlIO_set_ptrcnt |NULLOK PerlIO *f|NULLOK STDCHAR *ptr \
1751 |int cnt
46c461b5 1752Ap |void |PerlIO_setlinebuf |NULLOK PerlIO *f
4048f010
NC
1753Ap |SSize_t|PerlIO_read |NULLOK PerlIO *f|NN void *vbuf \
1754 |Size_t count
1755Ap |SSize_t|PerlIO_write |NULLOK PerlIO *f|NN const void *vbuf \
1756 |Size_t count
1757Ap |SSize_t|PerlIO_unread |NULLOK PerlIO *f|NN const void *vbuf \
1758 |Size_t count
46c461b5
AL
1759Ap |Off_t |PerlIO_tell |NULLOK PerlIO *f
1760Ap |int |PerlIO_seek |NULLOK PerlIO *f|Off_t offset|int whence
94bdecf9 1761
46c461b5
AL
1762Ap |STDCHAR *|PerlIO_get_base |NULLOK PerlIO *f
1763Ap |STDCHAR *|PerlIO_get_ptr |NULLOK PerlIO *f
1764ApR |int |PerlIO_get_bufsiz |NULLOK PerlIO *f
1765ApR |int |PerlIO_get_cnt |NULLOK PerlIO *f
94bdecf9 1766
46c461b5
AL
1767ApR |PerlIO *|PerlIO_stdin
1768ApR |PerlIO *|PerlIO_stdout
1769ApR |PerlIO *|PerlIO_stderr
94bdecf9
JH
1770#endif /* PERLIO_LAYERS */
1771
d6721266
DM
1772p |void |deb_stack_all
1773#ifdef PERL_IN_DEB_C
b64e5050 1774s |void |deb_stack_n |NN SV** stack_base|I32 stack_min \
3f46c5a6 1775 |I32 stack_max|I32 mark_min|I32 mark_max
d6721266
DM
1776#endif
1777
66a1b24b 1778pda |PADLIST*|pad_new |int flags
b64e5050 1779pd |void |pad_undef |NN CV* cv
4373e329 1780pd |PADOFFSET|pad_add_name |NN const char *name\
952306ac 1781 |NULLOK HV* typestash|NULLOK HV* ourstash|bool clone|bool state
b64e5050 1782pd |PADOFFSET|pad_add_anon |NN SV* sv|OPCODE op_type
66a1b24b 1783pd |void |pad_check_dup |NN const char* name|bool is_our|NN const HV* ourstash
dd2155a4 1784#ifdef DEBUGGING
66a1b24b 1785pd |void |pad_setsv |PADOFFSET po|NN SV* sv
dd2155a4
DM
1786#endif
1787pd |void |pad_block_start|int full
1788pd |void |pad_tidy |padtidy_type type
b64e5050 1789pd |void |do_dump_pad |I32 level|NN PerlIO *file|NULLOK PADLIST *padlist|int full
46c461b5 1790pd |void |pad_fixup_inner_anons|NN PADLIST *padlist|NN CV *old_cv|NN CV *new_cv
dd2155a4 1791
9850bf21 1792pdX |void |pad_push |NN PADLIST *padlist|int depth
901017d6 1793pR |HV* |pad_compname_type|const PADOFFSET po
dd2155a4
DM
1794
1795#if defined(PERL_IN_PAD_C) || defined(PERL_DECL_PROT)
282e1742 1796sd |PADOFFSET|pad_findlex |NN const char *name|NN const CV* cv|U32 seq|int warn \
b64e5050
AL
1797 |NULLOK SV** out_capture|NN SV** out_name_sv \
1798 |NN int *out_flags
dd2155a4 1799# if defined(DEBUGGING)
66a1b24b 1800sd |void |cv_dump |NN const CV *cv|NN const char *title
dd2155a4 1801# endif
dd2155a4 1802#endif
daad78fc 1803ApdR |CV* |find_runcv |NULLOK U32 *db_seqp
dd28f7bb 1804p |void |free_tied_hv_pool
b4ab917c 1805#if defined(DEBUGGING)
46c461b5 1806pR |int |get_debug_opts |NN const char **s|bool givehelp
b4ab917c 1807#endif
4048f010
NC
1808Ap |void |save_set_svflags|NN SV *sv|U32 mask|U32 val
1809Apod |void |hv_assert |NN HV *hv
d6721266 1810
4048f010
NC
1811ApdR |SV* |hv_scalar |NN HV *hv
1812ApoR |I32* |hv_riter_p |NN HV *hv
1813ApoR |HE** |hv_eiter_p |NN HV *hv
1814Apo |void |hv_riter_set |NN HV *hv|I32 riter
1815Apo |void |hv_eiter_set |NN HV *hv|NULLOK HE *eiter
1816Ap |void |hv_name_set |NN HV *hv|NULLOK const char *name|U32 len|U32 flags
1817poM |AV** |hv_backreferences_p |NN HV *hv
86f55936 1818#if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
4048f010 1819poM |void |hv_kill_backrefs |NN HV *hv
86f55936 1820#endif
4048f010
NC
1821Apd |void |hv_clear_placeholders |NN HV *hv
1822ApoR |I32* |hv_placeholders_p |NN HV *hv
0c289d13 1823ApoR |I32 |hv_placeholders_get |NN const HV *hv
4048f010 1824Apo |void |hv_placeholders_set |NN HV *hv|I32 ph
ca732855 1825
4048f010 1826p |SV* |magic_scalarpack|NN HV *hv|NN MAGIC *mg
10edeb5d
JH
1827
1828#if defined(PERL_IN_SV_C) || defined(PERL_DECL_PROT)
6c1b357c
NC
1829s |SV * |find_hash_subscript|NULLOK const HV *const hv \
1830 |NN const SV *const val
1831s |I32 |find_array_subscript|NULLOK const AV *const av \
1832 |NN const SV *const val
1833sMd |SV* |find_uninit_var|NULLOK const OP *const obase \
1834 |NULLOK const SV *const uninit_sv|bool top
29489e7c 1835#endif
96adfaa1 1836
1109a392
MHM
1837#ifdef PERL_NEED_MY_HTOLE16
1838np |U16 |my_htole16 |U16 n
1839#endif
1840#ifdef PERL_NEED_MY_LETOH16
1841np |U16 |my_letoh16 |U16 n
1842#endif
1843#ifdef PERL_NEED_MY_HTOBE16
1844np |U16 |my_htobe16 |U16 n
1845#endif
1846#ifdef PERL_NEED_MY_BETOH16
1847np |U16 |my_betoh16 |U16 n
1848#endif
1849#ifdef PERL_NEED_MY_HTOLE32
1850np |U32 |my_htole32 |U32 n
1851#endif
1852#ifdef PERL_NEED_MY_LETOH32
1853np |U32 |my_letoh32 |U32 n
1854#endif
1855#ifdef PERL_NEED_MY_HTOBE32
1856np |U32 |my_htobe32 |U32 n
1857#endif
1858#ifdef PERL_NEED_MY_BETOH32
1859np |U32 |my_betoh32 |U32 n
1860#endif
1861#ifdef PERL_NEED_MY_HTOLE64
1862np |U64 |my_htole64 |U64 n
1863#endif
1864#ifdef PERL_NEED_MY_LETOH64
1865np |U64 |my_letoh64 |U64 n
1866#endif
1867#ifdef PERL_NEED_MY_HTOBE64
1868np |U64 |my_htobe64 |U64 n
1869#endif
1870#ifdef PERL_NEED_MY_BETOH64
1871np |U64 |my_betoh64 |U64 n
1872#endif
1873
1874#ifdef PERL_NEED_MY_HTOLES
1875np |short |my_htoles |short n
1876#endif
1877#ifdef PERL_NEED_MY_LETOHS
1878np |short |my_letohs |short n
1879#endif
1880#ifdef PERL_NEED_MY_HTOBES
1881np |short |my_htobes |short n
1882#endif
1883#ifdef PERL_NEED_MY_BETOHS
1884np |short |my_betohs |short n
1885#endif
1886#ifdef PERL_NEED_MY_HTOLEI
1887np |int |my_htolei |int n
1888#endif
1889#ifdef PERL_NEED_MY_LETOHI
1890np |int |my_letohi |int n
1891#endif
1892#ifdef PERL_NEED_MY_HTOBEI
1893np |int |my_htobei |int n
1894#endif
1895#ifdef PERL_NEED_MY_BETOHI
1896np |int |my_betohi |int n
1897#endif
1898#ifdef PERL_NEED_MY_HTOLEL
1899np |long |my_htolel |long n
1900#endif
1901#ifdef PERL_NEED_MY_LETOHL
1902np |long |my_letohl |long n
1903#endif
1904#ifdef PERL_NEED_MY_HTOBEL
1905np |long |my_htobel |long n
1906#endif
1907#ifdef PERL_NEED_MY_BETOHL
1908np |long |my_betohl |long n
1909#endif
1910
b64e5050 1911np |void |my_swabn |NN void* ptr|int n
1109a392 1912
fe9845cc
RB
1913Ap |GV* |gv_fetchpvn_flags|NN const char* name|STRLEN len|I32 flags|const svtype sv_type
1914Ap |GV* |gv_fetchsv|NN SV *name|I32 flags|const svtype sv_type
9d8f40c4 1915dpR |bool |is_gv_magical_sv|NN SV *const name_sv|U32 flags
7a5fd60d 1916
9f6cc744 1917ApR |bool |stashpv_hvname_match|NN const COP *c|NN const HV *hv
2e0de35c 1918
41e4abd8 1919#ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
46c461b5 1920p |void |dump_sv_child |NN SV *sv
41e4abd8
NC
1921#endif
1922
c69033f2
NC
1923#ifdef PERL_DONT_CREATE_GVSV
1924Ap |GV* |gv_SVadd |NN GV* gv
1925#endif
9bd8fe79
SH
1926Apo |bool |ckwarn |U32 w
1927Apo |bool |ckwarn_d |U32 w
1242dfae 1928XEopMa |STRLEN *|new_warnings_bitfield|NULLOK STRLEN *buffer \
72dc9ed5 1929 |NN const char *const bits|STRLEN size
c69033f2 1930
de37a194 1931p |void |offer_nice_chunk |NN void *const chunk|const U32 chunk_size
77354fb4 1932
ce582cee
NC
1933#ifndef SPRINTF_RETURNS_STRLEN
1934Apnod |int |my_sprintf |NN char *buffer|NN const char *pat|...
1935#endif
1936
fbbee507 1937Apnodf |int |my_snprintf |NN char *buffer|const Size_t len|NN const char *format|...
d9fad198
JH
1938Apnod |int |my_vsnprintf |NN char *buffer|const Size_t len|NN const char *format|va_list ap
1939
b0269e46
AB
1940px |void |my_clearenv
1941
f16dd614 1942#ifdef PERL_IMPLICIT_CONTEXT
53d44271
JH
1943#ifdef PERL_GLOBAL_STRUCT_PRIVATE
1944Apo |void* |my_cxt_init |NN const char *my_cxt_key|size_t size
1945Apo |int |my_cxt_index |NN const char *my_cxt_key
1946#else
e3343589 1947Apo |void* |my_cxt_init |NN int *index|size_t size
f16dd614 1948#endif
53d44271 1949#endif
f16dd614 1950
a6cc4119
SP
1951#ifndef HAS_STRLCAT
1952Apno |Size_t |my_strlcat |NULLOK char *dst|NULLOK const char *src|Size_t size
1953#endif
1954
1955#ifndef HAS_STRLCPY
1956Apno |Size_t |my_strlcpy |NULLOK char *dst|NULLOK const char *src|Size_t size
1957#endif
1958
1dba731d
NC
1959#ifdef PERL_MAD
1960Mnp |void |pad_peg |NN const char* s
3b721df9
NC
1961#if defined(PERL_IN_DUMP_C) || defined(PERL_DECL_PROT)
1962sf |void |xmldump_attr |I32 level|NN PerlIO *file|NN const char* pat \
1963 |...
1964#endif
1965Mfp |void |xmldump_indent |I32 level|NN PerlIO *file|NN const char* pat \
1966 |...
1967Mp |void |xmldump_vindent|I32 level|NN PerlIO *file|NN const char* pat \
1968 |NULLOK va_list *args
1969Mp |void |xmldump_all
1970Mp |void |xmldump_packsubs |NN const HV* stash
1971Mp |void |xmldump_sub |NN const GV* gv
1972Mp |void |xmldump_form |NN const GV* gv
1973Mp |void |xmldump_eval
1974Mp |char* |sv_catxmlsv |NN SV *dsv|NN SV *ssv
20f84293 1975Mp |char* |sv_catxmlpvn |NN SV *dsv|NN const char *pv|STRLEN len|int utf8
3b721df9
NC
1976Mp |char* |sv_xmlpeek |NN SV* sv
1977Mp |void |do_pmop_xmldump|I32 level|NN PerlIO *file \
1978 |NULLOK const PMOP *pm
1979Mp |void |pmop_xmldump |NULLOK const PMOP* pm
1980Mp |void |do_op_xmldump |I32 level|NN PerlIO *file|NULLOK const OP *o
9f10164a 1981Mp |void |op_xmldump |NN const OP *o
eb8433b7 1982
ca7a6974
NC
1983Mp |TOKEN* |newTOKEN |I32 optype|YYSTYPE lval \
1984 |NULLOK MADPROP* madprop
4048f010
NC
1985Mp |void |token_free |NN TOKEN *tk
1986Mp |void |token_getmad |NN TOKEN *tk|NULLOK OP *o|char slot
ca7a6974
NC
1987Mp |void |op_getmad_weak |NULLOK OP* from|NULLOK OP* o|char slot
1988Mp |void |op_getmad |NULLOK OP* from|NULLOK OP* o|char slot
1989Mp |void |prepend_madprops|NULLOK MADPROP* mp|NULLOK OP* o|char slot
1990Mp |void |append_madprops|NULLOK MADPROP* tm|NULLOK OP* o|char slot
1991Mp |void |addmad |NULLOK MADPROP* tm|NULLOK MADPROP** root \
1992 |char slot
1993Mp |MADPROP*|newMADsv |char key|NN SV* sv
594c10dc
NC
1994Mp |MADPROP*|newMADPROP |char key|char type|NULLOK const void* val \
1995 |I32 vlen
ca7a6974 1996Mp |void |mad_free |NULLOK MADPROP* mp
29595ff2
NC
1997
1998# if defined(PERL_IN_TOKE_C) || defined(PERL_DECL_PROT)
1999s |char* |skipspace0 |NN char *s
2000s |char* |skipspace1 |NN char *s
2001s |char* |skipspace2 |NN char *s|NULLOK SV **sv
5db06880
NC
2002s |void |start_force |int where
2003s |void |curmad |char slot|NULLOK SV *sv
29595ff2 2004# endif
5db06880 2005Mp |int |madlex
00e74f14 2006Mp |int |madparse
1dba731d 2007#endif
ed140128
AD
2008#if !defined(HAS_SIGNBIT)
2009AMdnoP |int |Perl_signbit |NV f
2010#endif
f16dd614 2011
8b850bd5 2012XEMop |void |emulate_cop_io |NN const COP *const c|NN SV *const sv
f7e71195 2013XEMop |REGEXP *|get_re_arg|NULLOK SV *sv
8b850bd5 2014
47c9dd14
BB
2015p |struct mro_meta* |mro_meta_init |NN HV* stash
2016#if defined(USE_ITHREADS)
2017p |struct mro_meta* |mro_meta_dup |NN struct mro_meta* smeta|NN CLONE_PARAMS* param
2018#endif
2019Apd |AV* |mro_get_linear_isa|NN HV* stash
4befac30
NC
2020#if defined(PERL_IN_MRO_C) || defined(PERL_DECL_PROT)
2021sd |AV* |mro_get_linear_isa_c3|NN HV* stash|I32 level
2022sd |AV* |mro_get_linear_isa_dfs|NN HV* stash|I32 level
2023#endif
47c9dd14
BB
2024pd |void |mro_isa_changed_in|NN HV* stash
2025Apd |void |mro_method_changed_in |NN HV* stash
2026p |void |boot_core_mro
cbec8ebe
DM
2027Apon |void |sys_init |NN int* argc|NN char*** argv
2028Apon |void |sys_init3 |NN int* argc|NN char*** argv|NN char*** env
d0820ef1 2029Apon |void |sys_term
012da8e5 2030ApoM |const char *|fetch_cop_label|NULLOK struct refcounted_he *const chain \
dca6062a 2031 |NULLOK STRLEN *len|NULLOK U32 *flags
72241cc9 2032xpoM |struct refcounted_he *|store_cop_label \
012da8e5 2033 |NULLOK struct refcounted_he *const chain|NN const char *label
a49ba3fc 2034poM |HV * |get_isa_hash |NN HV *const stash
47c9dd14 2035
3540d4ce 2036END_EXTERN_C
1df70142
AL
2037/*
2038 * ex: set ts=8 sts=4 sw=4 noet:
2039 */