annotate src/sysdep.h @ 1690:a38bd8df9d33

[project @ 1996-01-05 21:36:24 by jwe]
author jwe
date Fri, 05 Jan 1996 21:39:55 +0000
parents 3cf58c72a050
children fd0d12493223
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
1 // sysdep.h -*- C++ -*-
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
2 /*
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
3
1009
dfe01093f657 [project @ 1995-01-04 04:05:12 by jwe]
jwe
parents: 529
diff changeset
4 Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
5
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
6 This file is part of Octave.
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
7
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
8 Octave is free software; you can redistribute it and/or modify it
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
9 under the terms of the GNU General Public License as published by the
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
10 Free Software Foundation; either version 2, or (at your option) any
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
11 later version.
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
12
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
13 Octave is distributed in the hope that it will be useful, but WITHOUT
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
16 for more details.
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
17
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
18 You should have received a copy of the GNU General Public License
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
19 along with Octave; see the file COPYING. If not, write to the Free
1315
611d403c7f3d [project @ 1995-06-25 19:56:32 by jwe]
jwe
parents: 1223
diff changeset
20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
21
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
22 */
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
23
383
0b52c68ec81f [project @ 1994-03-09 21:19:44 by jwe]
jwe
parents: 1
diff changeset
24 #if !defined (octave_sysdep_h)
0b52c68ec81f [project @ 1994-03-09 21:19:44 by jwe]
jwe
parents: 1
diff changeset
25 #define octave_sysdep_h 1
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
26
1690
a38bd8df9d33 [project @ 1996-01-05 21:36:24 by jwe]
jwe
parents: 1600
diff changeset
27 #include <readline/tilde.h>
a38bd8df9d33 [project @ 1996-01-05 21:36:24 by jwe]
jwe
parents: 1600
diff changeset
28
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
29 extern void sysdep_init (void);
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
30
529
7ea224e713cd [project @ 1994-07-20 18:54:27 by jwe]
jwe
parents: 444
diff changeset
31 extern void raw_mode (int);
7ea224e713cd [project @ 1994-07-20 18:54:27 by jwe]
jwe
parents: 444
diff changeset
32 extern int kbhit (void);
7ea224e713cd [project @ 1994-07-20 18:54:27 by jwe]
jwe
parents: 444
diff changeset
33
1126
abd78a3dd93d [project @ 1995-02-22 00:46:40 by jwe]
jwe
parents: 1009
diff changeset
34 extern char *octave_getcwd (char *, int);
1128
0af307affbc6 [project @ 1995-02-22 01:32:11 by jwe]
jwe
parents: 1126
diff changeset
35 extern int octave_chdir (const char *);
529
7ea224e713cd [project @ 1994-07-20 18:54:27 by jwe]
jwe
parents: 444
diff changeset
36
1467
7f008dfdc5a5 [project @ 1995-09-22 07:59:09 by jwe]
jwe
parents: 1466
diff changeset
37 #if !defined (HAVE_GETHOSTNAME) && defined (HAVE_SYS_UTSNAME_H)
1600
3cf58c72a050 [project @ 1995-11-01 21:02:48 by jwe]
jwe
parents: 1467
diff changeset
38 extern int gethostname (char *, int);
1467
7f008dfdc5a5 [project @ 1995-09-22 07:59:09 by jwe]
jwe
parents: 1466
diff changeset
39 #endif
529
7ea224e713cd [project @ 1994-07-20 18:54:27 by jwe]
jwe
parents: 444
diff changeset
40
444
ba637cc5c5f3 [project @ 1994-06-02 17:15:07 by jwe]
jwe
parents: 383
diff changeset
41 // Octave's idea of infinity.
ba637cc5c5f3 [project @ 1994-06-02 17:15:07 by jwe]
jwe
parents: 383
diff changeset
42 extern double octave_Inf;
ba637cc5c5f3 [project @ 1994-06-02 17:15:07 by jwe]
jwe
parents: 383
diff changeset
43
ba637cc5c5f3 [project @ 1994-06-02 17:15:07 by jwe]
jwe
parents: 383
diff changeset
44 // Octave's idea of not a number.
ba637cc5c5f3 [project @ 1994-06-02 17:15:07 by jwe]
jwe
parents: 383
diff changeset
45 extern double octave_NaN;
ba637cc5c5f3 [project @ 1994-06-02 17:15:07 by jwe]
jwe
parents: 383
diff changeset
46
1223
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
47 enum floating_point_format
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
48 {
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
49 OCTAVE_IEEE_LITTLE,
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
50 OCTAVE_IEEE_BIG,
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
51 OCTAVE_VAX_D,
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
52 OCTAVE_VAX_G,
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
53 OCTAVE_CRAY,
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
54 OCTAVE_UNKNOWN_FLT_FMT,
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
55 };
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
56
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
57 // The floating point format on this system.
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
58 extern floating_point_format native_float_format;
dfbe354b8eb7 [project @ 1995-04-09 17:52:18 by jwe]
jwe
parents: 1128
diff changeset
59
1413
b695ba29dc2d [project @ 1995-09-15 10:01:22 by jwe]
jwe
parents: 1315
diff changeset
60 // Nonzero if the machine we are running on is big-endian.
1414
88ba3aed5697 [project @ 1995-09-15 10:05:06 by jwe]
jwe
parents: 1413
diff changeset
61 extern int octave_words_big_endian;
1413
b695ba29dc2d [project @ 1995-09-15 10:01:22 by jwe]
jwe
parents: 1315
diff changeset
62
1
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
63 #endif
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
64
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
65 /*
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
66 ;;; Local Variables: ***
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
67 ;;; mode: C++ ***
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
68 ;;; page-delimiter: "^/\\*" ***
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
69 ;;; End: ***
78fd87e624cb [project @ 1993-08-08 01:13:40 by jwe]
jwe
parents:
diff changeset
70 */