FORM  4.3
unix.h
Go to the documentation of this file.
1 
6 /* #[ License : */
7 /*
8  * Copyright (C) 1984-2022 J.A.M. Vermaseren
9  * When using this file you are requested to refer to the publication
10  * J.A.M.Vermaseren "New features of FORM" math-ph/0010025
11  * This is considered a matter of courtesy as the development was paid
12  * for by FOM the Dutch physics granting agency and we would like to
13  * be able to track its scientific use to convince FOM of its value
14  * for the community.
15  *
16  * This file is part of FORM.
17  *
18  * FORM is free software: you can redistribute it and/or modify it under the
19  * terms of the GNU General Public License as published by the Free Software
20  * Foundation, either version 3 of the License, or (at your option) any later
21  * version.
22  *
23  * FORM is distributed in the hope that it will be useful, but WITHOUT ANY
24  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
25  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
26  * details.
27  *
28  * You should have received a copy of the GNU General Public License along
29  * with FORM. If not, see <http://www.gnu.org/licenses/>.
30  */
31 /* #] License : */
32 
33 #define LINEFEED '\n'
34 #define CARRIAGERETURN 0x0D
35 
36 #define WITHPIPE
37 #define WITHSYSTEM
38 
39 /*[13jul2005 mt]:*/
40 /*With SAFESIGNAL defined, write() and read() syscalls are wrapped by
41 the errno checkup*/
42 /*#define SAFESIGNAL*/
43 /*:[13jul2005 mt]*/
44 
45 /*[29apr2004 mt]:*/
46 #define WITHEXTERNALCHANNEL
47 /*
48 */
49 #define TRAPSIGNALS
50 /*:[29apr2004 mt]*/
51 
52 #define P_term(code) exit((int)(code<0?-code:code))
53 
54 #define SEPARATOR '/'
55 #define ALTSEPARATOR '/'
56 #define PATHSEPARATOR ':'
57 #define WITH_ENV