Changeset 2289 for trunk/src/emx/include/sys
- Timestamp:
- Aug 21, 2005, 12:08:50 AM (20 years ago)
- Location:
- trunk/src/emx/include/sys
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/include/sys/errno.h
-
Property cvs2svn:cvs-rev
changed from
1.10
to1.11
r2288 r2289 194 194 #endif /* _POSIX_SOURCE */ 195 195 196 #ifdef __USE_EMX 197 #define ENEWVER 90 /* mixing with a new version of a struct */ 198 #define EBADVER 91 /* bad version number */ 199 #endif 200 196 201 #ifdef _KERNEL 197 202 /* pseudo-errors returned inside kernel to modify return to process */ -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/include/sys/process.h
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
r2288 r2289 7 7 #define _SYS_PROCESS_H 8 8 9 #if defined (__cplusplus) 10 extern "C" { 9 #include <sys/cdefs.h> 10 #include <sys/_types.h> 11 12 __BEGIN_DECLS 13 14 #if !defined(_PID_T_DECLARED) && !defined(_PID_T) 15 typedef __pid_t pid_t; 16 #define _PID_T_DECLARED 17 #define _PID_T 11 18 #endif 12 19 … … 51 58 void exit (int) __attribute__ ((__noreturn__)); 52 59 void _exit (int) __attribute__ ((__noreturn__)); 53 int fork (void);54 int getpid (void);55 int getppid (void);60 pid_t fork (void); 61 pid_t getpid (void); 62 pid_t getppid (void); 56 63 int spawnl (int, __const__ char *, __const__ char *, ...); 57 64 int spawnle (int, __const__ char *, __const__ char *, ...); … … 63 70 int spawnvpe (int, __const__ char *, char * __const__ *, char * __const__ *); 64 71 int system (__const__ char *); 65 int wait (int *);66 int waitpid (int, int *, int);72 pid_t wait (int *); 73 pid_t waitpid (pid_t, int *, int); 67 74 68 75 int _execl (__const__ char *, __const__ char *, ...); … … 75 82 int _execvpe (__const__ char *, char * __const__ *, char * __const__ *); 76 83 int _fork (void); 77 int _getpid (void);78 int _getppid (void);84 pid_t _getpid (void); 85 pid_t _getppid (void); 79 86 int _spawnl (int, __const__ char *, __const__ char *, ...); 80 87 int _spawnle (int, __const__ char *, __const__ char *, ...); … … 85 92 int _spawnvp (int, __const__ char *, char * __const__ *); 86 93 int _spawnvpe (int, __const__ char *, char * __const__ *, char * __const__ *); 87 int _wait (int *);88 int _waitpid (int, int *, int);94 pid_t _wait (int *); 95 pid_t _waitpid (pid_t, int *, int); 89 96 90 91 #if defined (__cplusplus) 92 } 93 #endif 97 __END_DECLS 94 98 95 99 #endif /* not _SYS_PROCESS_H */ -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.