home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / emxdev8f.zip / PROCESS.H < prev    next >
C/C++ Source or Header  |  1992-11-18  |  2KB  |  67 lines

  1. /* process.h (emx+gcc) */
  2.  
  3. #if !defined (_PROCESS_H)
  4. #define _PROCESS_H
  5.  
  6. #if defined (__cplusplus)
  7. extern "C" {
  8. #endif
  9.  
  10. #if !defined (P_WAIT)
  11. #define P_WAIT    0
  12. #define P_NOWAIT  1
  13. #define P_OVERLAY 2
  14. #define P_DEBUG   3
  15. #define P_SESSION 4
  16. #define P_DETACH  5
  17.  
  18. #define P_DEFAULT    0x0000
  19. #define P_MINIMIZE   0x0100
  20. #define P_MAXIMIZE   0x0200
  21. #define P_FULLSCREEN 0x0300
  22. #define P_WINDOWED   0x0400
  23.  
  24. #define P_FOREGROUND 0x0000
  25. #define P_BACKGROUND 0x1000
  26.  
  27. #define P_NOCLOSE    0x2000
  28.  
  29. #endif
  30.  
  31. void abort (void);
  32. int atexit (void (*func)(void));
  33. int execl (__const__ char *name, __const__ char *arg0, ...);
  34. int execle (__const__ char *name, __const__ char *arg0, ...);
  35. int execlp (__const__ char *name, __const__ char *arg0, ...);
  36. int execlpe (__const__ char *name, __const__ char *arg0, ...);
  37. int execv (__const__ char *name, __const__ char * __const__ *argv);
  38. int execve (__const__ char *name, __const__ char * __const__ *argv,
  39.     __const__ char * __const__ *envp);
  40. int execvp (__const__ char *name, __const__ char * __const__ *argv);
  41. int execvpe (__const__ char *name, __const__ char * __const__ *argv,
  42.     __const__ char * __const__ *envp);
  43. void __volatile__ exit (int ret);
  44. void __volatile__ _exit (int ret);
  45. int fork (void);
  46. int getpid (void);
  47. int getppid (void);
  48. int spawnl (int mode, __const__ char *name, __const__ char *arg0, ...);
  49. int spawnle (int mode, __const__ char *name, __const__ char *arg0, ...);
  50. int spawnlp (int mode, __const__ char *name, __const__ char *arg0, ...);
  51. int spawnlpe (int mode, __const__ char *name, __const__ char *arg0, ...);
  52. int spawnv (int mode, __const__ char *name, __const__ char * __const__ *argv);
  53. int spawnve (int mode, __const__ char *name, __const__ char * __const__ *argv,
  54.     __const__ char * __const__ *envp);
  55. int spawnvp (int mode, __const__ char *name, __const__ char * __const__ *argv);
  56. int spawnvpe (int mode, __const__ char *name,
  57.     __const__ char * __const__ *argv, __const__ char * __const__ *envp);
  58. int system (__const__ char *name);
  59. int wait (int *status);
  60. int waitpid (int pid, int *status, int options);
  61.  
  62. #if defined (__cplusplus)
  63. }
  64. #endif
  65.  
  66. #endif /* !defined (_PROCESS_H) */
  67.