blob: 2e6f171240acfe0d119af6e3f2b61fc28eb6ab1a [file] [log] [blame]
Jack Jansen42218ce1997-01-31 16:15:11 +00001/***********************************************************
2Copyright 1991-1997 by Stichting Mathematisch Centrum, Amsterdam,
3The Netherlands.
4
5 All Rights Reserved
6
7Permission to use, copy, modify, and distribute this software and its
8documentation for any purpose and without fee is hereby granted,
9provided that the above copyright notice appear in all copies and that
10both that copyright notice and this permission notice appear in
11supporting documentation, and that the names of Stichting Mathematisch
12Centrum or CWI or Corporation for National Research Initiatives or
13CNRI not be used in advertising or publicity pertaining to
14distribution of the software without specific, written prior
15permission.
16
17While CWI is the initial source for this software, a modified version
18is made available by the Corporation for National Research Initiatives
19(CNRI) at the Internet address ftp://ftp.python.org.
20
21STICHTING MATHEMATISCH CENTRUM AND CNRI DISCLAIM ALL WARRANTIES WITH
22REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
23MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH
24CENTRUM OR CNRI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
25DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
26PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
27TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
28PERFORMANCE OF THIS SOFTWARE.
29
30******************************************************************/
Jack Jansen31f61dd1995-01-18 13:41:47 +000031
Jack Jansen2d1306b2000-04-07 09:10:49 +000032#ifndef USE_GUSI2
Jack Jansen31f61dd1995-01-18 13:41:47 +000033#define ENOTDIR (-120)
Jack Jansen64639201997-04-08 15:28:05 +000034#ifndef __MSL__
Jack Jansen31f61dd1995-01-18 13:41:47 +000035#define EACCES (-54)
Jack Jansen64639201997-04-08 15:28:05 +000036#endif
Jack Jansen31f61dd1995-01-18 13:41:47 +000037#define EEXIST (-48)
38#define EBUSY (-47)
39#define EROFS (-44)
40#define ENOENT (-43)
Jack Jansen31f61dd1995-01-18 13:41:47 +000041#define ENFILE (-42)
42#define EIO (-36)
43#define ENOSPC (-34)
Jack Jansen2d1306b2000-04-07 09:10:49 +000044#endif
Jack Jansen31f61dd1995-01-18 13:41:47 +000045
46#define ESRCH 3
47#define EINTR 4
48#define EBADF 9
49#define ENODEV 19
50#define EINVAL 22
51#define EMFILE 24
52