Ruby 1.9.3p327(2012-11-10revision37606)
symbian/missing-pips.c
Go to the documentation of this file.
00001 #include <sys/signal.h>
00002 #include <sys/resource.h>
00003 #include <fcntl.h>
00004 #include <pthreadtypes.h>
00005 
00006 char **environ = 0;
00007 
00008 typedef void (*sighandler_t)(int);
00009 sighandler_t signal(int signum, sighandler_t handler);
00010 
00011 int kill(pid_t pid, int sig);
00012 int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset);
00013 int execl(const char *path, const char *arg0, ... /*, (char *)0 */);
00014 int execv(const char *path, char *const argv[]);
00015 int pthread_kill(pthread_t thread, int sig);
00016 
00017 int kill(pid_t pid, int sig)
00018 {
00019         return 0;
00020 }
00021 
00022 int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset)
00023 {
00024         return -1;
00025 }
00026 
00027 int execl(const char *path, const char *arg0, ...)
00028 {
00029         return 0;
00030 }
00031 
00032 int execv(const char *path, char *const argv[])
00033 {
00034         return 0;
00035 }
00036 
00037 int pthread_kill(pthread_t thread, int sig)
00038 {
00039         return -1;
00040 }
00041 
00042 
00043 sighandler_t posix_signal(int signum, sighandler_t handler)
00044 {
00045     return signal((signum),(handler));
00046 }
00047 
00048 int getrlimit(int resource, struct rlimit *rlp)
00049 {
00050     return 0;
00051 }
00052 
00053 int setrlimit(int resource, const struct rlimit *rlp)
00054 {
00055     return 0;
00056 }
00057 
00058 int getrusage(int who, struct rusage *r_usage)
00059 {
00060     return 0;
00061 }
00062 
00063 
00064 
00065 
00066