メインページ   クラス階層   構成   ファイル一覧   構成メンバ   ファイルメンバ  

oct-syscalls.h

解説を見る。
00001 /*
00002 
00003 Copyright (C) 1996, 1997 John W. Eaton
00004 
00005 This file is part of Octave.
00006 
00007 Octave is free software; you can redistribute it and/or modify it
00008 under the terms of the GNU General Public License as published by the
00009 Free Software Foundation; either version 2, or (at your option) any
00010 later version.
00011 
00012 Octave is distributed in the hope that it will be useful, but WITHOUT
00013 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00015 for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Octave; see the file COPYING.  If not, write to the Free
00019 Software Foundation, 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00020 
00021 */
00022 
00023 #if !defined (octave_syscalls_h)
00024 #define octave_syscalls_h 1
00025 
00026 #include <string>
00027 
00028 class string_vector;
00029 
00030 #ifdef HAVE_SYS_TYPES_H
00031 #include <sys/types.h>
00032 #endif
00033 
00034 struct
00035 octave_syscalls
00036 {
00037   static int dup2 (int, int);
00038   static int dup2 (int, int, std::string&);
00039 
00040   static int execvp (const std::string&, const string_vector&);
00041   static int execvp (const std::string&, const string_vector&, std::string&);
00042 
00043   static int fcntl (int, int, long);
00044   static int fcntl (int, int, long, std::string&);
00045 
00046   static pid_t fork (std::string&);
00047   static pid_t vfork (std::string&);
00048 
00049   static pid_t getpgrp (std::string&);
00050 
00051   static pid_t getpid (void);
00052   static pid_t getppid (void);
00053 
00054   static gid_t getgid (void);
00055   static gid_t getegid (void);
00056 
00057   static uid_t getuid (void);
00058   static uid_t geteuid (void);
00059 
00060   static int pipe (int *);
00061   static int pipe (int *, std::string&);
00062 
00063   static pid_t waitpid (pid_t, int);
00064   static pid_t waitpid (pid_t, int, std::string&);
00065 
00066   static int kill (pid_t, int);
00067   static int kill (pid_t, int, std::string&);
00068 };
00069 
00070 #endif
00071 
00072 /*
00073 ;;; Local Variables: ***
00074 ;;; mode: C++ ***
00075 ;;; End: ***
00076 */

Wed Dec 29 11:52:12 2004に生成されました。 doxygen1.2.18
SEO [PR] 爆速!無料ブログ 無料ホームページ開設 無料ライブ放送