1 #ifndef NEXT30_NO_ATTRIBUTE
2 #ifndef HASATTRIBUTE /* disable GNU-cc attribute checking? */
3 #ifdef __attribute__ /* Avoid possible redefinition errors */
6 #define __attribute__(attr)
10 SV* amagic_call _((SV* left,SV* right,int method,int dir));
11 bool Gv_AMupdate _((HV* stash));
13 OP* append_elem _((I32 optype, OP* head, OP* tail));
14 OP* append_list _((I32 optype, LISTOP* first, LISTOP* last));
15 I32 apply _((I32 type, SV** mark, SV** sp));
16 void assertref _((OP* op));
17 void av_clear _((AV* ar));
18 void av_extend _((AV* ar, I32 key));
19 AV* av_fake _((I32 size, SV** svp));
20 SV** av_fetch _((AV* ar, I32 key, I32 lval));
21 void av_fill _((AV* ar, I32 fill));
22 I32 av_len _((AV* ar));
23 AV* av_make _((I32 size, SV** svp));
24 SV* av_pop _((AV* ar));
25 void av_push _((AV* ar, SV* val));
26 SV* av_shift _((AV* ar));
27 SV** av_store _((AV* ar, I32 key, SV* val));
28 void av_undef _((AV* ar));
29 void av_unshift _((AV* ar, I32 num));
30 OP* bind_match _((I32 type, OP* left, OP* pat));
31 OP* block_end _((I32 floor, OP* seq));
32 int block_start _((int full));
33 void boot_core_UNIVERSAL _((void));
34 void calllist _((AV* list));
35 I32 cando _((I32 bit, I32 effective, struct stat* statbufp));
37 U32 cast_ulong _((double f));
39 #if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
40 I32 my_chsize _((int fd, Off_t length));
42 OP * ck_gvconst _((OP * o));
43 OP * ck_retarget _((OP *op));
44 OP* convert _((I32 optype, I32 flags, OP* op));
45 char* cpytill _((char* to, char* from, char* fromend, int delim, I32* retlen));
46 void croak _((const char* pat,...))
47 __attribute__((format(printf,1,2),noreturn));
48 CV* cv_clone _((CV* proto));
49 void cv_undef _((CV* cv));
50 SV* cv_const_sv _((CV* cv));
52 void cx_dump _((CONTEXT* cs));
54 SV * filter_add _((filter_t funcp, SV *datasv));
55 void filter_del _((filter_t funcp));
56 I32 filter_read _((int idx, SV *buffer, int maxlen));
58 void deb _((const char* pat,...)) __attribute__((format(printf,1,2)));
59 void deb_growlevel _((void));
60 I32 debop _((OP* op));
61 I32 debstackptrs _((void));
63 void debprofdump _((void));
65 I32 debstack _((void));
66 void deprecate _((char* s));
67 OP* die _((const char* pat,...)) __attribute__((format(printf,1,2)));
68 OP* die_where _((char* message));
69 void dounwind _((I32 cxix));
70 bool do_aexec _((SV* really, SV** mark, SV** sp));
71 void do_chop _((SV* asv, SV* sv));
72 bool do_close _((GV* gv, bool not_implicit));
73 bool do_eof _((GV* gv));
74 bool do_exec _((char* cmd));
75 void do_execfree _((void));
76 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
77 I32 do_ipcctl _((I32 optype, SV** mark, SV** sp));
78 I32 do_ipcget _((I32 optype, SV** mark, SV** sp));
80 void do_join _((SV* sv, SV* del, SV** mark, SV** sp));
82 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
83 I32 do_msgrcv _((SV** mark, SV** sp));
84 I32 do_msgsnd _((SV** mark, SV** sp));
86 bool do_open _((GV* gv, char* name, I32 len,
87 int as_raw, int rawmode, int rawperm, PerlIO* supplied_fp));
88 void do_pipe _((SV* sv, GV* rgv, GV* wgv));
89 bool do_print _((SV* sv, PerlIO* fp));
90 OP * do_readline _((void));
91 I32 do_chomp _((SV* sv));
92 bool do_seek _((GV* gv, long pos, int whence));
93 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
94 I32 do_semop _((SV** mark, SV** sp));
95 I32 do_shmio _((I32 optype, SV** mark, SV** sp));
97 void do_sprintf _((SV* sv, I32 len, SV** sarg));
98 long do_tell _((GV* gv));
99 I32 do_trans _((SV* sv, OP* arg));
100 void do_vecset _((SV* sv));
101 void do_vop _((I32 optype, SV* sv, SV* left, SV* right));
102 I32 dowantarray _((void));
103 void dump_all _((void));
104 void dump_eval _((void));
105 #ifdef DUMP_FDS /* See util.c */
106 int dump_fds _((char* s));
108 void dump_form _((GV* gv));
109 void dump_gv _((GV* gv));
111 void dump_mstats _((char* s));
113 void dump_op _((OP* arg));
114 void dump_pm _((PMOP* pm));
115 void dump_packsubs _((HV* stash));
116 void dump_sub _((GV* gv));
117 void fbm_compile _((SV* sv));
118 char* fbm_instr _((unsigned char* big, unsigned char* bigend, SV* littlesv));
119 OP* force_list _((OP* arg));
120 OP* fold_constants _((OP * arg));
121 void free_tmps _((void));
122 OP* gen_constant_list _((OP* op));
123 void gp_free _((GV* gv));
124 GP* gp_ref _((GP* gp));
125 GV* gv_AVadd _((GV* gv));
126 GV* gv_HVadd _((GV* gv));
127 GV* gv_IOadd _((GV* gv));
128 void gv_check _((HV* stash));
129 void gv_efullname _((SV* sv, GV* gv));
130 void gv_efullname3 _((SV* sv, GV* gv, char* prefix));
131 GV* gv_fetchfile _((char* name));
132 GV* gv_fetchmeth _((HV* stash, char* name, STRLEN len, I32 level));
133 GV* gv_fetchmethod _((HV* stash, char* name));
134 GV* gv_fetchpv _((char* name, I32 add, I32 sv_type));
135 void gv_fullname _((SV* sv, GV* gv));
136 void gv_fullname3 _((SV* sv, GV* gv, char* prefix));
137 void gv_init _((GV *gv, HV *stash, char *name, STRLEN len, int multi));
138 HV* gv_stashpv _((char* name, I32 create));
139 HV* gv_stashpvn _((char* name, U32 namelen, I32 create));
140 HV* gv_stashsv _((SV* sv, I32 create));
141 void he_delayfree _((HE* hent, I32 shared));
142 void he_free _((HE* hent, I32 shared));
143 void hoistmust _((PMOP* pm));
144 void hv_clear _((HV* tb));
145 SV* hv_delete _((HV* tb, char* key, U32 klen, I32 flags));
146 SV* hv_delete_ent _((HV* tb, SV* key, I32 flags, U32 hash));
147 bool hv_exists _((HV* tb, char* key, U32 klen));
148 bool hv_exists_ent _((HV* tb, SV* key, U32 hash));
149 SV** hv_fetch _((HV* tb, char* key, U32 klen, I32 lval));
150 HE* hv_fetch_ent _((HV* tb, SV* key, I32 lval, U32 hash));
151 I32 hv_iterinit _((HV* tb));
152 char* hv_iterkey _((HE* entry, I32* retlen));
153 SV* hv_iterkeysv _((HE* entry));
154 HE* hv_iternext _((HV* tb));
155 SV* hv_iternextsv _((HV* hv, char** key, I32* retlen));
156 SV* hv_iterval _((HV* tb, HE* entry));
157 void hv_ksplit _((HV* hv, IV newmax));
158 void hv_magic _((HV* hv, GV* gv, int how));
159 SV** hv_store _((HV* tb, char* key, U32 klen, SV* val, U32 hash));
160 HE* hv_store_ent _((HV* tb, SV* key, SV* val, U32 hash));
161 void hv_undef _((HV* tb));
162 I32 ibcmp _((char* a, char* b, I32 len));
163 I32 ibcmp_locale _((char* a, char* b, I32 len));
164 I32 ingroup _((I32 testgid, I32 effective));
165 U32 intro_my _((void));
166 char* instr _((char* big, char* little));
167 bool io_close _((IO* io));
168 OP* invert _((OP* cmd));
169 OP* jmaybe _((OP* arg));
170 I32 keyword _((char* d, I32 len));
171 void leave_scope _((I32 base));
172 void lex_end _((void));
173 void lex_start _((SV *line));
174 OP* linklist _((OP* op));
176 OP* listkids _((OP* o));
177 OP* localize _((OP* arg, I32 lexical));
178 I32 looks_like_number _((SV* sv));
179 int magic_clearenv _((SV* sv, MAGIC* mg));
180 int magic_clearpack _((SV* sv, MAGIC* mg));
181 int magic_clearsig _((SV* sv, MAGIC* mg));
182 int magic_existspack _((SV* sv, MAGIC* mg));
183 int magic_freeitervar _((SV* sv, MAGIC* mg));
184 int magic_get _((SV* sv, MAGIC* mg));
185 int magic_getarylen _((SV* sv, MAGIC* mg));
186 int magic_getpack _((SV* sv, MAGIC* mg));
187 int magic_getglob _((SV* sv, MAGIC* mg));
188 int magic_getitervar _((SV* sv, MAGIC* mg));
189 int magic_getpos _((SV* sv, MAGIC* mg));
190 int magic_getsig _((SV* sv, MAGIC* mg));
191 int magic_gettaint _((SV* sv, MAGIC* mg));
192 int magic_getuvar _((SV* sv, MAGIC* mg));
193 U32 magic_len _((SV* sv, MAGIC* mg));
194 int magic_nextpack _((SV* sv, MAGIC* mg, SV* key));
195 int magic_set _((SV* sv, MAGIC* mg));
197 int magic_setamagic _((SV* sv, MAGIC* mg));
198 #endif /* OVERLOAD */
199 int magic_setarylen _((SV* sv, MAGIC* mg));
200 int magic_setbm _((SV* sv, MAGIC* mg));
201 int magic_setdbline _((SV* sv, MAGIC* mg));
202 int magic_setcollxfrm _((SV* sv, MAGIC* mg));
203 int magic_setenv _((SV* sv, MAGIC* mg));
204 int magic_setfm _((SV* sv, MAGIC* mg));
205 int magic_setisa _((SV* sv, MAGIC* mg));
206 int magic_setitervar _((SV* sv, MAGIC* mg));
207 int magic_setglob _((SV* sv, MAGIC* mg));
208 int magic_setmglob _((SV* sv, MAGIC* mg));
209 int magic_setnkeys _((SV* sv, MAGIC* mg));
210 int magic_setpack _((SV* sv, MAGIC* mg));
211 int magic_setpos _((SV* sv, MAGIC* mg));
212 int magic_setsig _((SV* sv, MAGIC* mg));
213 int magic_setsubstr _((SV* sv, MAGIC* mg));
214 int magic_settaint _((SV* sv, MAGIC* mg));
215 int magic_setuvar _((SV* sv, MAGIC* mg));
216 int magic_setvec _((SV* sv, MAGIC* mg));
217 int magic_wipepack _((SV* sv, MAGIC* mg));
218 void magicname _((char* sym, char* name, I32 namlen));
219 int main _((int argc, char** argv, char** env));
220 void markstack_grow _((void));
221 #ifdef USE_LOCALE_COLLATE
222 char* mem_collxfrm _((const char *s, STRLEN len, STRLEN *xlen));
224 char* mess _((const char* pat, va_list* args));
225 int mg_clear _((SV* sv));
226 int mg_copy _((SV *, SV *, char *, I32));
227 MAGIC* mg_find _((SV* sv, int type));
228 int mg_free _((SV* sv));
229 int mg_get _((SV* sv));
230 U32 mg_len _((SV* sv));
231 void mg_magical _((SV* sv));
232 int mg_set _((SV* sv));
233 OP* mod _((OP* op, I32 type));
234 char* moreswitches _((char* s));
236 #if !defined(HAS_BCOPY) || !defined(HAS_SAFE_BCOPY)
237 char* my_bcopy _((char* from, char* to, I32 len));
239 #if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
240 char* my_bzero _((char* loc, I32 len));
242 void my_exit _((U32 status)) __attribute__((noreturn));
243 I32 my_lstat _((void));
244 #if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
245 I32 my_memcmp _((char* s1, char* s2, I32 len));
247 I32 my_pclose _((PerlIO* ptr));
248 PerlIO* my_popen _((char* cmd, char* mode));
249 void my_setenv _((char* nam, char* val));
250 I32 my_stat _((void));
252 short my_swap _((short s));
253 long my_htonl _((long l));
254 long my_ntohl _((long l));
256 void my_unexec _((void));
257 OP* newANONLIST _((OP* op));
258 OP* newANONHASH _((OP* op));
259 OP* newANONSUB _((I32 floor, OP* proto, OP* block));
260 OP* newASSIGNOP _((I32 flags, OP* left, I32 optype, OP* right));
261 OP* newCONDOP _((I32 flags, OP* expr, OP* trueop, OP* falseop));
262 void newFORM _((I32 floor, OP* op, OP* block));
263 OP* newFOROP _((I32 flags, char* label, line_t forline, OP* scalar, OP* expr, OP*block, OP*cont));
264 OP* newLOGOP _((I32 optype, I32 flags, OP* left, OP* right));
265 OP* newLOOPEX _((I32 type, OP* label));
266 OP* newLOOPOP _((I32 flags, I32 debuggable, OP* expr, OP* block));
267 OP* newNULLLIST _((void));
268 OP* newOP _((I32 optype, I32 flags));
269 void newPROG _((OP* op));
270 OP* newRANGE _((I32 flags, OP* left, OP* right));
271 OP* newSLICEOP _((I32 flags, OP* subscript, OP* list));
272 OP* newSTATEOP _((I32 flags, char* label, OP* o));
273 CV* newSUB _((I32 floor, OP* op, OP* proto, OP* block));
274 CV* newXS _((char *name, void (*subaddr)(CV* cv), char *filename));
276 CV* newXSUB _((char *name, I32 ix, I32 (*subaddr)(int,int,int), char *filename));
279 OP* newAVREF _((OP* o));
280 OP* newBINOP _((I32 type, I32 flags, OP* first, OP* last));
281 OP* newCVREF _((I32 flags, OP* o));
282 OP* newGVOP _((I32 type, I32 flags, GV* gv));
283 GV* newGVgen _((char *pack));
284 OP* newGVREF _((I32 type, OP* o));
285 OP* newHVREF _((OP* o));
288 OP* newLISTOP _((I32 type, I32 flags, OP* first, OP* last));
289 OP* newPMOP _((I32 type, I32 flags));
290 OP* newPVOP _((I32 type, I32 flags, char* pv));
291 SV* newRV _((SV* ref));
293 SV* newSV _((I32 x, STRLEN len));
295 SV* newSV _((STRLEN len));
297 OP* newSVREF _((OP* o));
298 OP* newSVOP _((I32 type, I32 flags, SV* sv));
299 SV* newSViv _((IV i));
300 SV* newSVnv _((double n));
301 SV* newSVpv _((char* s, STRLEN len));
302 SV* newSVrv _((SV* rv, char* classname));
303 SV* newSVsv _((SV* old));
304 OP* newUNOP _((I32 type, I32 flags, OP* first));
305 OP * newWHILEOP _((I32 flags, I32 debuggable, LOOP* loop, OP* expr, OP* block, OP* cont));
306 PerlIO* nextargv _((GV* gv));
307 char* ninstr _((char* big, char* bigend, char* little, char* lend));
308 OP * oopsCV _((OP* o));
309 void op_free _((OP* arg));
310 void package _((OP* op));
311 PADOFFSET pad_alloc _((I32 optype, U32 tmptype));
312 PADOFFSET pad_allocmy _((char* name));
313 PADOFFSET pad_findmy _((char* name));
314 OP* oopsAV _((OP* o));
315 OP* oopsHV _((OP* o));
316 void pad_leavemy _((I32 fill));
317 SV* pad_sv _((PADOFFSET po));
318 void pad_free _((PADOFFSET po));
319 void pad_reset _((void));
320 void pad_swipe _((PADOFFSET po));
321 void peep _((OP* op));
322 PerlInterpreter* perl_alloc _((void));
323 I32 perl_call_argv _((char* subname, I32 flags, char** argv));
324 I32 perl_call_method _((char* methname, I32 flags));
325 I32 perl_call_pv _((char* subname, I32 flags));
326 I32 perl_call_sv _((SV* sv, I32 flags));
327 void perl_construct _((PerlInterpreter* sv_interp));
328 void perl_destruct _((PerlInterpreter* sv_interp));
329 I32 perl_eval_sv _((SV* sv, I32 flags));
330 void perl_free _((PerlInterpreter* sv_interp));
331 SV* perl_get_sv _((char* name, I32 create));
332 AV* perl_get_av _((char* name, I32 create));
333 HV* perl_get_hv _((char* name, I32 create));
334 CV* perl_get_cv _((char* name, I32 create));
335 int perl_init_i18nl10n _((int printwarn));
336 int perl_init_i18nl14n _((int printwarn));
337 void perl_new_collate _((char *newcoll));
338 void perl_new_ctype _((char *newctype));
339 void perl_new_numeric _((char *newcoll));
340 void perl_set_numeric_local _((void));
341 void perl_set_numeric_standard _((void));
342 int perl_parse _((PerlInterpreter* sv_interp, void(*xsinit)(void), int argc, char** argv, char** env));
343 void perl_require_pv _((char* pv));
344 #define perl_requirepv perl_require_pv
345 int perl_run _((PerlInterpreter* sv_interp));
346 void pidgone _((int pid, int status));
347 void pmflag _((U16* pmfl, int ch));
348 OP* pmruntime _((OP* pm, OP* expr, OP* repl));
349 OP* pmtrans _((OP* op, OP* expr, OP* repl));
350 OP* pop_return _((void));
351 void pop_scope _((void));
352 OP* prepend_elem _((I32 optype, OP* head, OP* tail));
353 void provide_ref _((OP* op, SV* sv));
354 void push_return _((OP* op));
355 void push_scope _((void));
356 regexp* pregcomp _((char* exp, char* xend, PMOP* pm));
357 OP* ref _((OP* op, I32 type));
358 OP* refkids _((OP* op, I32 type));
359 void regdump _((regexp* r));
360 I32 pregexec _((regexp* prog, char* stringarg, char* strend, char* strbeg, I32 minend, SV* screamer, I32 safebase));
361 void pregfree _((struct regexp* r));
362 char* regnext _((char* p));
363 char* regprop _((char* op));
364 void repeatcpy _((char* to, char* from, I32 len, I32 count));
365 char* rninstr _((char* big, char* bigend, char* little, char* lend));
366 Sighandler_t rsignal _((int, Sighandler_t));
367 int rsignal_restore _((int, Sigsave_t*));
368 int rsignal_save _((int, Sighandler_t, Sigsave_t*));
369 Sighandler_t rsignal_state _((int));
370 int runops _((void));
372 I32 same_dirent _((char* a, char* b));
374 char* savepv _((char* sv));
375 char* savepvn _((char* sv, I32 len));
376 void savestack_grow _((void));
377 void save_aptr _((AV** aptr));
378 AV* save_ary _((GV* gv));
379 void save_clearsv _((SV** svp));
380 void save_delete _((HV* hv, char* key, I32 klen));
381 #ifndef titan /* TitanOS cc can't handle this */
382 void save_destructor _((void (*f)(void*), void* p));
384 void save_freesv _((SV* sv));
385 void save_freeop _((OP* op));
386 void save_freepv _((char* pv));
387 void save_gp _((GV* gv, I32 empty));
388 HV* save_hash _((GV* gv));
389 void save_hptr _((HV** hptr));
390 void save_I16 _((I16* intp));
391 void save_I32 _((I32* intp));
392 void save_int _((int* intp));
393 void save_item _((SV* item));
394 void save_iv _((IV* iv));
395 void save_list _((SV** sarg, I32 maxsarg));
396 void save_long _((long *longp));
397 void save_nogv _((GV* gv));
398 SV* save_scalar _((GV* gv));
399 void save_pptr _((char **pptr));
400 void save_sptr _((SV** sptr));
401 SV* save_svref _((SV** sptr));
402 OP* sawparens _((OP* o));
403 OP* scalar _((OP* o));
404 OP* scalarkids _((OP* op));
405 OP* scalarseq _((OP* o));
406 OP* scalarvoid _((OP* op));
407 UV scan_hex _((char* start, I32 len, I32* retlen));
408 char* scan_num _((char* s));
409 UV scan_oct _((char* start, I32 len, I32* retlen));
410 OP* scope _((OP* o));
411 char* screaminstr _((SV* bigsv, SV* littlesv));
413 I32 setenv_getix _((char* nam));
415 void setdefout _((GV *gv));
416 char* sharepvn _((char* sv, I32 len, U32 hash));
417 HEK* share_hek _((char* sv, I32 len, U32 hash));
418 Signal_t sighandler _((int sig));
419 SV** stack_grow _((SV** sp, SV**p, int n));
420 int start_subparse _((void));
421 bool sv_2bool _((SV* sv));
422 CV* sv_2cv _((SV* sv, HV** st, GV** gvp, I32 lref));
423 IO* sv_2io _((SV* sv));
424 IV sv_2iv _((SV* sv));
425 SV* sv_2mortal _((SV* sv));
426 double sv_2nv _((SV* sv));
427 char* sv_2pv _((SV* sv, STRLEN* lp));
428 UV sv_2uv _((SV* sv));
429 void sv_add_arena _((char* ptr, U32 size, U32 flags));
430 int sv_backoff _((SV* sv));
431 SV* sv_bless _((SV* sv, HV* stash));
432 void sv_catpv _((SV* sv, char* ptr));
433 void sv_catpvn _((SV* sv, char* ptr, STRLEN len));
434 void sv_catsv _((SV* dsv, SV* ssv));
435 void sv_chop _((SV* sv, char* ptr));
436 void sv_clean_all _((void));
437 void sv_clean_objs _((void));
438 void sv_clear _((SV* sv));
439 I32 sv_cmp _((SV* sv1, SV* sv2));
440 I32 sv_cmp_locale _((SV* sv1, SV* sv2));
441 #ifdef USE_LOCALE_COLLATE
442 char* sv_collxfrm _((SV* sv, STRLEN* nxp));
444 void sv_dec _((SV* sv));
445 void sv_dump _((SV* sv));
446 bool sv_derived_from _((SV* sv, char* name));
447 I32 sv_eq _((SV* sv1, SV* sv2));
448 void sv_free _((SV* sv));
449 void sv_free_arenas _((void));
450 char* sv_gets _((SV* sv, PerlIO* fp, I32 append));
452 char* sv_grow _((SV* sv, I32 newlen));
454 char* sv_grow _((SV* sv, unsigned long newlen));
456 void sv_inc _((SV* sv));
457 void sv_insert _((SV* bigsv, STRLEN offset, STRLEN len, char* little, STRLEN littlelen));
458 int sv_isa _((SV* sv, char* name));
459 int sv_isobject _((SV* sv));
460 STRLEN sv_len _((SV* sv));
461 void sv_magic _((SV* sv, SV* obj, int how, char* name, I32 namlen));
462 SV* sv_mortalcopy _((SV* oldsv));
463 SV* sv_newmortal _((void));
464 SV* sv_newref _((SV* sv));
465 char * sv_peek _((SV* sv));
466 char * sv_pvn_force _((SV* sv, STRLEN* lp));
467 char* sv_reftype _((SV* sv, int ob));
468 void sv_replace _((SV* sv, SV* nsv));
469 void sv_report_used _((void));
470 void sv_reset _((char* s, HV* stash));
471 void sv_setiv _((SV* sv, IV num));
472 void sv_setuv _((SV* sv, UV num));
473 void sv_setnv _((SV* sv, double num));
474 SV* sv_setref_iv _((SV *rv, char *classname, IV iv));
475 SV* sv_setref_nv _((SV *rv, char *classname, double nv));
476 SV* sv_setref_pv _((SV *rv, char *classname, void* pv));
477 SV* sv_setref_pvn _((SV *rv, char *classname, char* pv, I32 n));
478 void sv_setpv _((SV* sv, const char* ptr));
479 void sv_setpvn _((SV* sv, const char* ptr, STRLEN len));
480 void sv_setsv _((SV* dsv, SV* ssv));
481 void sv_taint _((SV* sv));
482 bool sv_tainted _((SV* sv));
483 int sv_unmagic _((SV* sv, int type));
484 void sv_unref _((SV* sv));
485 void sv_untaint _((SV* sv));
486 bool sv_upgrade _((SV* sv, U32 mt));
487 void sv_usepvn _((SV* sv, char* ptr, STRLEN len));
488 void taint_env _((void));
489 void taint_proper _((const char* f, char* s));
490 #ifdef UNLINK_ALL_VERSIONS
491 I32 unlnk _((char* f));
493 void unsharepvn _((char* sv, I32 len, U32 hash));
494 void unshare_hek _((HEK* hek));
495 void utilize _((int aver, I32 floor, OP* version, OP* id, OP* arg));
496 void vivify_itervar _((SV* sv));
497 I32 wait4pid _((int pid, int* statusp, int flags));
498 void warn _((const char* pat,...)) __attribute__((format(printf,1,2)));
499 void watch _((char **addr));
500 I32 whichsig _((char* sig));
501 int yyerror _((char* s));
503 int yyparse _((void));
504 int yywarn _((char* s));
506 #if defined(MYMALLOC) || !defined(STANDARD_C)
507 Malloc_t malloc _((MEM_SIZE nbytes));
508 Malloc_t calloc _((MEM_SIZE elements, MEM_SIZE size));
509 Malloc_t realloc _((Malloc_t where, MEM_SIZE nbytes));
510 Free_t free _((Malloc_t where));
514 Malloc_t safemalloc _((MEM_SIZE nbytes));
515 Malloc_t safecalloc _((MEM_SIZE elements, MEM_SIZE size));
516 Malloc_t saferealloc _((Malloc_t where, MEM_SIZE nbytes));
517 Free_t safefree _((Malloc_t where));
521 Malloc_t safexmalloc _((I32 x, MEM_SIZE size));
522 Malloc_t safexcalloc _((I32 x, MEM_SIZE elements, MEM_SIZE size));
523 Malloc_t safexrealloc _((Malloc_t where, MEM_SIZE size));
524 void safexfree _((Malloc_t where));