merge the formfield patch from ooo-build
[ooovba.git] / dmake / unix / sysvr3 / stdlib.h
blob84b1d8deed24eebed160602c65b2c2d63d38d9e5
1 /* RCS $Id: stdlib.h,v 1.1.1.1 2000-09-22 15:33:35 hr Exp $
2 --
3 -- SYNOPSIS
4 -- stdlib interface
5 --
6 -- DESCRIPTION
7 -- Specially needed pieces of interface to the standard C lib.
8 --
9 -- AUTHOR
10 -- Dennis Vadura, dvadura@dmake.wticorp.com
12 -- WWW
13 -- http://dmake.wticorp.com/
15 -- COPYRIGHT
16 -- Copyright (c) 1996,1997 by WTI Corp. All rights reserved.
17 --
18 -- This program is NOT free software; you can redistribute it and/or
19 -- modify it under the terms of the Software License Agreement Provided
20 -- in the file <distribution-root>/readme/license.txt.
22 -- LOG
23 -- Use cvs log to obtain detailed change logs.
26 #ifndef _STDLIB_INCLUDED_
27 #define _STDLIB_INCLUDED_
29 #ifndef _AIX
30 extern /*GOTO*/ _exit();
31 extern /*GOTO*/ exit();
32 extern /*GOTO*/ abort();
33 extern int system();
34 extern char *getenv();
35 extern char *calloc();
36 extern char *malloc();
37 extern char *realloc();
39 /* The AIX compiler dies on illegal redefinition of free */
40 extern free();
41 #endif
43 /* AIX doesn't use NAME_MAX anylonger... */
44 #ifdef _AIX
45 #include <unistd.h>
46 #define NAME_MAX pathconf("/dev/null",_PC_NAME_MAX)
47 #endif
49 extern int errno;
51 #ifndef EIO
52 # include <errno.h>
53 #endif
55 #endif /* _STDLIB_INCLUDED_ */