summaryrefslogtreecommitdiff
path: root/util.h
blob: eb4a0a49d0cec1caaa0e1b1aec4dd5303d5854c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* $RCSfile: util.h,v $$Revision: 4.0.1.4 $$Date: 92/06/11 21:19:36 $
 *
 *    Copyright (c) 1991, Larry Wall
 *
 *    You may distribute under the terms of either the GNU General Public
 *    License or the Artistic License, as specified in the README file.
 *
 * $Log:	util.h,v $
 * Revision 4.0.1.4  92/06/11  21:19:36  lwall
 * patch34: pidgone() wasn't declared right
 * 
 * Revision 4.0.1.3  92/06/08  16:09:20  lwall
 * patch20: bcopy() and memcpy() now tested for overlap safety
 * 
 * Revision 4.0.1.2  91/11/05  19:18:40  lwall
 * patch11: safe malloc code now integrated into Perl's malloc when possible
 * 
 * Revision 4.0.1.1  91/06/07  12:11:00  lwall
 * patch4: new copyright notice
 * 
 * Revision 4.0  91/03/20  01:56:48  lwall
 * 4.0 baseline.
 * 
 */

EXT int *screamfirst INIT(Null(int*));
EXT int *screamnext INIT(Null(int*));

#ifndef safemalloc
char	*safemalloc();
char	*saferealloc();
#endif
char	*cpytill();
char	*instr();
char	*fbminstr();
char	*screaminstr();
void	fbmcompile();
char	*savestr();
void	my_setenv();
int	envix();
void	growstr();
char	*ninstr();
char	*rninstr();
char	*nsavestr();
FILE	*mypopen();
int	mypclose();
#if !defined(HAS_BCOPY) || !defined(SAFE_BCOPY)
char	*my_bcopy();
#endif
#if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
char	*my_bzero();
#endif
#ifndef HAS_MEMCMP
int	my_memcmp();
#endif
unsigned long scanoct();
unsigned long scanhex();
void pidgone();