1 /*
2 * gawkmisc.c --- miscellanious gawk routines that are OS specific.
3 */
4
5 /*
6 * Copyright (C) 1986, 1988, 1989, 1991-2004, 2010, 2011, 2017, 2022, 2023,
7 * the Free Software Foundation, Inc.
8 *
9 * This file is part of GAWK, the GNU implementation of the
10 * AWK Programming Language.
11 *
12 * GAWK is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 3 of the License, or
15 * (at your option) any later version.
16 *
17 * GAWK is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
25 */
26
27 #include "awk.h"
28
29 #if defined(HAVE_FCNTL_H)
30 #include <fcntl.h>
31 #endif
32
33 #if defined(__MINGW32__)
34 #include "pc/gawkmisc.pc"
35 #elif defined(VMS)
36 #include "vms/gawkmisc.vms"
37 #else /* posix */
38 #include "posix/gawkmisc.c"
39 #endif