rxunixsys.h
Go to the documentation of this file.
1
/*----------------------------------------------------------------------------*/
2
/* */
3
/* Copyright (c) 2009-2010 Rexx Language Association. All rights reserved. */
4
/* */
5
/* This program and the accompanying materials are made available under */
6
/* the terms of the Common Public License v1.0 which accompanies this */
7
/* distribution. A copy is also available at the following address: */
8
/* http://www.oorexx.org/license.html */
9
/* */
10
/* Redistribution and use in source and binary forms, with or */
11
/* without modification, are permitted provided that the following */
12
/* conditions are met: */
13
/* */
14
/* Redistributions of source code must retain the above copyright */
15
/* notice, this list of conditions and the following disclaimer. */
16
/* Redistributions in binary form must reproduce the above copyright */
17
/* notice, this list of conditions and the following disclaimer in */
18
/* the documentation and/or other materials provided with the distribution. */
19
/* */
20
/* Neither the name of Rexx Language Association nor the names */
21
/* of its contributors may be used to endorse or promote products */
22
/* derived from this software without specific prior written permission. */
23
/* */
24
/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */
25
/* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */
26
/* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS */
27
/* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */
28
/* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */
29
/* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED */
30
/* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, */
31
/* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY */
32
/* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING */
33
/* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS */
34
/* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
35
/* */
36
/* Authors; */
37
/* W. David Ashley <dashley@us.ibm.com> */
38
/* */
39
/*----------------------------------------------------------------------------*/
40
41
42
#ifndef ORXUNIXAPI_H
43
#define ORXUNIXAPI_H
44
45
#ifdef HAVE_CONFIG_H
46
# include "config.h"
47
#endif
48
49
#include <
oorexxapi.h
>
50
#include <stdlib.h>
51
#include <string.h>
52
#include <stdio.h>
53
#include <sys/types.h>
54
#include <sys/stat.h>
55
#include <sys/utsname.h>
56
#include <signal.h>
57
#include <unistd.h>
58
#include <pwd.h>
59
#include <grp.h>
60
#include <time.h>
61
#include <netdb.h>
62
#include <wordexp.h>
63
#if !defined(AIX)
64
#include <alloca.h>
65
#endif
66
#include <pthread.h>
67
#include <errno.h>
68
#include <dirent.h>
69
70
// These are the special OS specific cases
71
#ifdef HAVE_XATTR_H
72
#include <attr/xattr.h>
73
#endif
74
75
/*----------------------------------------------------------------------------*/
76
/* Definitions */
77
/*----------------------------------------------------------------------------*/
78
79
#if defined(__APPLE__) && defined(__MACH__)
80
# define stat64 stat
81
# define HOST_NAME_MAX _POSIX_HOST_NAME_MAX
82
#endif
83
84
/*----------------------------------------------------------------------------*/
85
/* Global variables */
86
/*----------------------------------------------------------------------------*/
87
88
89
#endif
/* ORXUNIXAPI_H */
90
oorexxapi.h
oorexx
executor
sandbox
jlf
trunk
extensions
platform
unix
rxunixsys
rxunixsys.h
Generated by
1.9.2