ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

process.h
Go to the documentation of this file.
00001 
00006 #ifndef _INC_PROCESS
00007 #define _INC_PROCESS
00008 
00009 #include <crtdefs.h>
00010 
00011 /* Includes a definition of _pid_t and pid_t */
00012 #include <sys/types.h>
00013 
00014 #ifndef _POSIX_
00015 #ifdef __cplusplus
00016 extern "C" {
00017 #endif
00018 
00019 #define _P_WAIT 0
00020 #define _P_NOWAIT 1
00021 #define _OLD_P_OVERLAY 2
00022 #define _P_NOWAITO 3
00023 #define _P_DETACH 4
00024 #define _P_OVERLAY 2
00025 
00026 #define _WAIT_CHILD 0
00027 #define _WAIT_GRANDCHILD 1
00028 
00029   _CRTIMP uintptr_t __cdecl _beginthread(void (__cdecl *_StartAddress) (void *),unsigned _StackSize,void *_ArgList);
00030   _CRTIMP void __cdecl _endthread(void);
00031   _CRTIMP uintptr_t __cdecl _beginthreadex(void *_Security,unsigned _StackSize,unsigned (__stdcall *_StartAddress) (void *),void *_ArgList,unsigned _InitFlag,unsigned *_ThrdAddr);
00032   _CRTIMP void __cdecl _endthreadex(unsigned _Retval);
00033 
00034 #ifndef _CRT_TERMINATE_DEFINED
00035 #define _CRT_TERMINATE_DEFINED
00036   __declspec(noreturn) void __cdecl exit(int _Code);
00037   _CRTIMP __declspec(noreturn) void __cdecl _exit(int _Code);
00038 
00039 #if __MINGW_GNUC_PREREQ(4,4)
00040 #pragma push_macro("abort")
00041 #undef abort
00042 #endif
00043   __declspec(noreturn) void __cdecl abort(void);
00044 #if __MINGW_GNUC_PREREQ(4,4)
00045 #pragma pop_macro("abort")
00046 #undef abort
00047 #endif
00048 #endif
00049 
00050   _CRTIMP void __cdecl _cexit(void);
00051   _CRTIMP void __cdecl _c_exit(void);
00052   _CRTIMP int __cdecl _getpid(void);
00053   _CRTIMP intptr_t __cdecl _cwait(int *_TermStat,intptr_t _ProcHandle,int _Action);
00054   _CRTIMP intptr_t __cdecl _execl(const char *_Filename,const char *_ArgList,...);
00055   _CRTIMP intptr_t __cdecl _execle(const char *_Filename,const char *_ArgList,...);
00056   _CRTIMP intptr_t __cdecl _execlp(const char *_Filename,const char *_ArgList,...);
00057   _CRTIMP intptr_t __cdecl _execlpe(const char *_Filename,const char *_ArgList,...);
00058   _CRTIMP intptr_t __cdecl _execv(const char *_Filename,const char *const *_ArgList);
00059   _CRTIMP intptr_t __cdecl _execve(const char *_Filename,const char *const *_ArgList,const char *const *_Env);
00060   _CRTIMP intptr_t __cdecl _execvp(const char *_Filename,const char *const *_ArgList);
00061   _CRTIMP intptr_t __cdecl _execvpe(const char *_Filename,const char *const *_ArgList,const char *const *_Env);
00062   _CRTIMP intptr_t __cdecl _spawnl(int _Mode,const char *_Filename,const char *_ArgList,...);
00063   _CRTIMP intptr_t __cdecl _spawnle(int _Mode,const char *_Filename,const char *_ArgList,...);
00064   _CRTIMP intptr_t __cdecl _spawnlp(int _Mode,const char *_Filename,const char *_ArgList,...);
00065   _CRTIMP intptr_t __cdecl _spawnlpe(int _Mode,const char *_Filename,const char *_ArgList,...);
00066   _CRTIMP intptr_t __cdecl _spawnv(int _Mode,const char *_Filename,const char *const *_ArgList);
00067   _CRTIMP intptr_t __cdecl _spawnve(int _Mode,const char *_Filename,const char *const *_ArgList,const char *const *_Env);
00068   _CRTIMP intptr_t __cdecl _spawnvp(int _Mode,const char *_Filename,const char *const *_ArgList);
00069   _CRTIMP intptr_t __cdecl _spawnvpe(int _Mode,const char *_Filename,const char *const *_ArgList,const char *const *_Env);
00070 
00071 #ifndef _CRT_SYSTEM_DEFINED
00072 #define _CRT_SYSTEM_DEFINED
00073   int __cdecl system(const char *_Command);
00074 #endif
00075 
00076 #ifndef _WPROCESS_DEFINED
00077 #define _WPROCESS_DEFINED
00078   _CRTIMP intptr_t __cdecl _wexecl(const wchar_t *_Filename,const wchar_t *_ArgList,...);
00079   _CRTIMP intptr_t __cdecl _wexecle(const wchar_t *_Filename,const wchar_t *_ArgList,...);
00080   _CRTIMP intptr_t __cdecl _wexeclp(const wchar_t *_Filename,const wchar_t *_ArgList,...);
00081   _CRTIMP intptr_t __cdecl _wexeclpe(const wchar_t *_Filename,const wchar_t *_ArgList,...);
00082   _CRTIMP intptr_t __cdecl _wexecv(const wchar_t *_Filename,const wchar_t *const *_ArgList);
00083   _CRTIMP intptr_t __cdecl _wexecve(const wchar_t *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env);
00084   _CRTIMP intptr_t __cdecl _wexecvp(const wchar_t *_Filename,const wchar_t *const *_ArgList);
00085   _CRTIMP intptr_t __cdecl _wexecvpe(const wchar_t *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env);
00086   _CRTIMP intptr_t __cdecl _wspawnl(int _Mode,const wchar_t *_Filename,const wchar_t *_ArgList,...);
00087   _CRTIMP intptr_t __cdecl _wspawnle(int _Mode,const wchar_t *_Filename,const wchar_t *_ArgList,...);
00088   _CRTIMP intptr_t __cdecl _wspawnlp(int _Mode,const wchar_t *_Filename,const wchar_t *_ArgList,...);
00089   _CRTIMP intptr_t __cdecl _wspawnlpe(int _Mode,const wchar_t *_Filename,const wchar_t *_ArgList,...);
00090   _CRTIMP intptr_t __cdecl _wspawnv(int _Mode,const wchar_t *_Filename,const wchar_t *const *_ArgList);
00091   _CRTIMP intptr_t __cdecl _wspawnve(int _Mode,const wchar_t *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env);
00092   _CRTIMP intptr_t __cdecl _wspawnvp(int _Mode,const wchar_t *_Filename,const wchar_t *const *_ArgList);
00093   _CRTIMP intptr_t __cdecl _wspawnvpe(int _Mode,const wchar_t *_Filename,const wchar_t *const *_ArgList,const wchar_t *const *_Env);
00094 #ifndef _CRT_WSYSTEM_DEFINED
00095 #define _CRT_WSYSTEM_DEFINED
00096   _CRTIMP int __cdecl _wsystem(const wchar_t *_Command);
00097 #endif
00098 #endif
00099 
00100   void __cdecl __security_init_cookie(void);
00101 #if (defined(_X86_) && !defined(__x86_64))
00102   void __fastcall __security_check_cookie(uintptr_t _StackCookie);
00103   __declspec(noreturn) void __cdecl __report_gsfailure(void);
00104 #else
00105   void __cdecl __security_check_cookie(uintptr_t _StackCookie);
00106   __declspec(noreturn) void __cdecl __report_gsfailure(uintptr_t _StackCookie);
00107 #endif
00108   extern uintptr_t __security_cookie;
00109 
00110   intptr_t __cdecl _loaddll(char *_Filename);
00111   int __cdecl _unloaddll(intptr_t _Handle);
00112   int (__cdecl *__cdecl _getdllprocaddr(intptr_t _Handle,char *_ProcedureName,intptr_t _Ordinal))(void);
00113 
00114 #ifdef _DECL_DLLMAIN
00115 #ifdef _WIN32
00116   WINBOOL WINAPI DllMain(HANDLE _HDllHandle,DWORD _Reason,LPVOID _Reserved);
00117   WINBOOL WINAPI _CRT_INIT(HANDLE _HDllHandle,DWORD _Reason,LPVOID _Reserved);
00118   WINBOOL WINAPI _wCRT_INIT(HANDLE _HDllHandle,DWORD _Reason,LPVOID _Reserved);
00119   extern WINBOOL (WINAPI *const _pRawDllMain)(HANDLE,DWORD,LPVOID);
00120 #else
00121   int __stdcall DllMain(void *_HDllHandle,unsigned _Reason,void *_Reserved);
00122   int __stdcall _CRT_INIT(void *_HDllHandle,unsigned _Reason,void *_Reserved);
00123   int __stdcall _wCRT_INIT(void *_HDllHandle,unsigned _Reason,void *_Reserved);
00124   extern int (__stdcall *const _pRawDllMain)(void *,unsigned,void *);
00125 #endif
00126 #endif
00127 
00128 #ifndef NO_OLDNAMES
00129 #define P_WAIT _P_WAIT
00130 #define P_NOWAIT _P_NOWAIT
00131 #define P_OVERLAY _P_OVERLAY
00132 #define OLD_P_OVERLAY _OLD_P_OVERLAY
00133 #define P_NOWAITO _P_NOWAITO
00134 #define P_DETACH _P_DETACH
00135 #define WAIT_CHILD _WAIT_CHILD
00136 #define WAIT_GRANDCHILD _WAIT_GRANDCHILD
00137 
00138   _CRTIMP intptr_t __cdecl cwait(int *_TermStat,intptr_t _ProcHandle,int _Action);
00139 #ifdef __GNUC__
00140   _CRTIMP int __cdecl execl(const char *_Filename,const char *_ArgList,...);
00141   _CRTIMP int __cdecl execle(const char *_Filename,const char *_ArgList,...);
00142   _CRTIMP int __cdecl execlp(const char *_Filename,const char *_ArgList,...);
00143   _CRTIMP int __cdecl execlpe(const char *_Filename,const char *_ArgList,...);
00144 #else
00145   _CRTIMP intptr_t __cdecl execl(const char *_Filename,const char *_ArgList,...);
00146   _CRTIMP intptr_t __cdecl execle(const char *_Filename,const char *_ArgList,...);
00147   _CRTIMP intptr_t __cdecl execlp(const char *_Filename,const char *_ArgList,...);
00148   _CRTIMP intptr_t __cdecl execlpe(const char *_Filename,const char *_ArgList,...);
00149 #endif
00150   _CRTIMP intptr_t __cdecl spawnl(int,const char *_Filename,const char *_ArgList,...);
00151   _CRTIMP intptr_t __cdecl spawnle(int,const char *_Filename,const char *_ArgList,...);
00152   _CRTIMP intptr_t __cdecl spawnlp(int,const char *_Filename,const char *_ArgList,...);
00153   _CRTIMP intptr_t __cdecl spawnlpe(int,const char *_Filename,const char *_ArgList,...);
00154   _CRTIMP int __cdecl getpid(void);
00155 #ifdef __GNUC__
00156   /* Those methods are predefined by gcc builtins to return int. So to prevent
00157      stupid warnings, define them in POSIX way.  This is save, because those
00158      methods do not return in success case, so that the return value is not
00159      really dependent to its scalar width.  */
00160   _CRTIMP int __cdecl execv(const char *_Filename,char *const _ArgList[]);
00161   _CRTIMP int __cdecl execve(const char *_Filename,char *const _ArgList[],char *const _Env[]);
00162   _CRTIMP int __cdecl execvp(const char *_Filename,char *const _ArgList[]);
00163   _CRTIMP int __cdecl execvpe(const char *_Filename,char *const _ArgList[],char *const _Env[]);
00164 #else
00165   _CRTIMP intptr_t __cdecl execv(const char *_Filename,char *const _ArgList[]);
00166   _CRTIMP intptr_t __cdecl execve(const char *_Filename,char *const _ArgList[],char *const _Env[]);
00167   _CRTIMP intptr_t __cdecl execvp(const char *_Filename,char *const _ArgList[]);
00168   _CRTIMP intptr_t __cdecl execvpe(const char *_Filename,char *const _ArgList[],char *const _Env[]);
00169 #endif
00170   _CRTIMP intptr_t __cdecl spawnv(int,const char *_Filename,char *const _ArgList[]);
00171   _CRTIMP intptr_t __cdecl spawnve(int,const char *_Filename,char *const _ArgList[],char *const _Env[]);
00172   _CRTIMP intptr_t __cdecl spawnvp(int,const char *_Filename,char *const _ArgList[]);
00173   _CRTIMP intptr_t __cdecl spawnvpe(int,const char *_Filename,char *const _ArgList[],char *const _Env[]);
00174 #endif
00175 
00176 #ifdef __cplusplus
00177 }
00178 #endif
00179 #endif
00180 #endif

Generated on Sun May 27 2012 04:29:53 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.