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