Commit | Line | Data |
---|---|---|
de3bb511 | 1 | /* $RCSfile: util.h,v $$Revision: 4.0.1.2 $$Date: 91/11/05 19:18:40 $ |
a687059c | 2 | * |
d48672a2 | 3 | * Copyright (c) 1991, Larry Wall |
a687059c | 4 | * |
d48672a2 | 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. | |
8d063cd8 | 7 | * |
8 | * $Log: util.h,v $ | |
de3bb511 | 9 | * Revision 4.0.1.2 91/11/05 19:18:40 lwall |
10 | * patch11: safe malloc code now integrated into Perl's malloc when possible | |
11 | * | |
d48672a2 | 12 | * Revision 4.0.1.1 91/06/07 12:11:00 lwall |
13 | * patch4: new copyright notice | |
14 | * | |
fe14fcc3 | 15 | * Revision 4.0 91/03/20 01:56:48 lwall |
16 | * 4.0 baseline. | |
8d063cd8 | 17 | * |
18 | */ | |
19 | ||
a687059c | 20 | EXT int *screamfirst INIT(Null(int*)); |
21 | EXT int *screamnext INIT(Null(int*)); | |
8d063cd8 | 22 | |
de3bb511 | 23 | #ifndef safemalloc |
8d063cd8 | 24 | char *safemalloc(); |
25 | char *saferealloc(); | |
de3bb511 | 26 | #endif |
8d063cd8 | 27 | char *cpytill(); |
28 | char *instr(); | |
378cc40b | 29 | char *fbminstr(); |
30 | char *screaminstr(); | |
378cc40b | 31 | void fbmcompile(); |
8d063cd8 | 32 | char *savestr(); |
8d063cd8 | 33 | void setenv(); |
34 | int envix(); | |
8d063cd8 | 35 | void growstr(); |
a687059c | 36 | char *ninstr(); |
37 | char *rninstr(); | |
38 | char *nsavestr(); | |
39 | FILE *mypopen(); | |
40 | int mypclose(); | |
fe14fcc3 | 41 | #ifndef HAS_MEMCPY |
42 | #ifndef HAS_BCOPY | |
03a14243 | 43 | char *bcopy(); |
44 | #endif | |
fe14fcc3 | 45 | #ifndef HAS_BZERO |
ffed7fef | 46 | char *bzero(); |
47 | #endif | |
03a14243 | 48 | #endif |
fe14fcc3 | 49 | unsigned long scanoct(); |
50 | unsigned long scanhex(); |