Commit | Line | Data |
---|---|---|
ca2dddd6 C |
1 | /* $RCSfile: util.h,v $$Revision: 4.0.1.4 $$Date: 92/06/11 21:19:36 $ |
2 | * | |
3 | * Copyright (c) 1991, Larry Wall | |
4 | * | |
5 | * You may distribute under the terms of either the GNU General Public | |
6 | * License or the Artistic License, as specified in the README file. | |
7 | * | |
8 | * $Log: util.h,v $ | |
9 | * Revision 4.0.1.4 92/06/11 21:19:36 lwall | |
10 | * patch34: pidgone() wasn't declared right | |
11 | * | |
12 | * Revision 4.0.1.3 92/06/08 16:09:20 lwall | |
13 | * patch20: bcopy() and memcpy() now tested for overlap safety | |
14 | * | |
15 | * Revision 4.0.1.2 91/11/05 19:18:40 lwall | |
16 | * patch11: safe malloc code now integrated into Perl's malloc when possible | |
17 | * | |
18 | * Revision 4.0.1.1 91/06/07 12:11:00 lwall | |
19 | * patch4: new copyright notice | |
20 | * | |
21 | * Revision 4.0 91/03/20 01:56:48 lwall | |
22 | * 4.0 baseline. | |
23 | * | |
24 | */ | |
25 | ||
26 | EXT int *screamfirst INIT(Null(int*)); | |
27 | EXT int *screamnext INIT(Null(int*)); | |
28 | ||
29 | #ifndef safemalloc | |
30 | char *safemalloc(); | |
31 | char *saferealloc(); | |
32 | #endif | |
33 | char *cpytill(); | |
34 | char *instr(); | |
35 | char *fbminstr(); | |
36 | char *screaminstr(); | |
37 | void fbmcompile(); | |
38 | char *savestr(); | |
39 | void my_setenv(); | |
40 | int envix(); | |
41 | void growstr(); | |
42 | char *ninstr(); | |
43 | char *rninstr(); | |
44 | char *nsavestr(); | |
45 | FILE *mypopen(); | |
46 | int mypclose(); | |
47 | #if !defined(HAS_BCOPY) || !defined(SAFE_BCOPY) | |
48 | char *my_bcopy(); | |
49 | #endif | |
50 | #if !defined(HAS_BZERO) && !defined(HAS_MEMSET) | |
51 | char *my_bzero(); | |
52 | #endif | |
53 | #ifndef HAS_MEMCMP | |
54 | int my_memcmp(); | |
55 | #endif | |
56 | unsigned long scanoct(); | |
57 | unsigned long scanhex(); | |
58 | void pidgone(); |