view src/sysdep.h @ 1126:abd78a3dd93d

[project @ 1995-02-22 00:46:40 by jwe]
author jwe
date Wed, 22 Feb 1995 00:47:09 +0000
parents dfe01093f657
children 0af307affbc6
line wrap: on
line source

// sysdep.h                                              -*- C++ -*-
/*

Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton

This file is part of Octave.

Octave 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, or (at your option) any
later version.

Octave 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 Octave; see the file COPYING.  If not, write to the Free
Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

*/

#if !defined (octave_sysdep_h)
#define octave_sysdep_h 1

extern void sysdep_init (void);

extern void raw_mode (int);
extern int kbhit (void);

extern char *octave_getcwd (char *, int);
extern int octave_chdir (char *);

extern "C"
{
extern int gethostname ();
}

// Octave's idea of infinity.
extern double octave_Inf;

// Octave's idea of not a number.
extern double octave_NaN;

#endif

/*
;;; Local Variables: ***
;;; mode: C++ ***
;;; page-delimiter: "^/\\*" ***
;;; End: ***
*/