Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #if !defined (octave_liboctave_sysdep_h)
00024 #define octave_liboctave_sysdep_h 1
00025
00026 #include <string>
00027
00028 #include "lo-ieee.h"
00029 class string_vector;
00030
00031 extern std::string octave_getcwd (void);
00032
00033 extern int octave_chdir (const std::string&);
00034
00035 #if defined (__WIN32__) && ! defined (__CYGWIN__)
00036 extern pid_t octave_popen2 (const std::string&, const string_vector&,
00037 bool, int *, std::string&);
00038 #endif
00039
00040 #if defined (_MSC_VER) && ! defined (HAVE_DIRENT_H)
00041
00042
00043
00044
00045
00046
00047 struct direct
00048 {
00049 char *d_name;
00050 };
00051
00052 typedef struct __DIR DIR;
00053
00054 extern DIR* opendir (const char *name);
00055 extern void rewinddir (DIR *d);
00056 extern void closedir (DIR *d);
00057 extern struct direct *readdir (DIR *d);
00058
00059 #endif
00060
00061 #endif