-
Notifications
You must be signed in to change notification settings - Fork 6
/
gemdos_p.h
57 lines (50 loc) · 1.68 KB
/
gemdos_p.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
* TOSEMU - an emulated environment for TOS applications
* Copyright (C) 2014 Johan Thelin <[email protected]>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#ifndef GEMDOS_P_H
#define GEMDOS_P_H
#define GEMDOS_TRACE_CONTEXT
#include "config.h"
/* GEMDOS return values */
#define GEMDOS_E_OK (0)
#define GEMDOS_EINVAL (-25) /* Mint */
#define GEMDOS_EINVFN (-32)
#define GEMDOS_EFILNF (-33)
#define GEMDOS_EPTHNF (-34)
#define GEMDOS_ENHNDL (-35)
#define GEMDOS_EACCDN (-36)
#define GEMDOS_EIHNDL (-37)
#define GEMDOS_ENSMEM (-39)
#define GEMDOS_EIMBA (-40)
#define GEMDOS_EDRIVE (-46)
#define GEMDOS_ECWD (-47)
#define GEMDOS_ENSAME (-48)
#define GEMDOS_ENMFIL (-49)
#define GEMDOS_ELOCKED (-58)
#define GEMDOS_ENSLOCK (-59)
#define GEMDOS_ERANGE (-64)
#define GEMDOS_EINTRN (-65)
#define GEMDOS_EPLFMT (-66)
#define GEMDOS_EGSBF (-67)
#define GEMDOS_EBREAK (-68)
#define GEMDOS_EXCPT (-69)
#define GEMDOS_EPTHOV (-70)
#define GEMDOS_ELOOP (-80)
#define GEMDOS_EPIPE (-81)
#endif /* GEMDOS_P_H */