summaryrefslogtreecommitdiffstats
path: root/symbian/missing-pips.c
blob: c5649fb45a81c89001f6240304c6cdf86c28bef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#include <sys/signal.h>
#include <sys/resource.h>
#include <fcntl.h>
#include <pthreadtypes.h>

char **environ = 0;

typedef void (*sighandler_t)(int);
sighandler_t signal(int signum, sighandler_t handler);

int kill(pid_t pid, int sig);
int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset);
int execl(const char *path, const char *arg0, ... /*, (char *)0 */);
int execv(const char *path, char *const argv[]);
int pthread_kill(pthread_t thread, int sig);

int kill(pid_t pid, int sig)
{
	return 0;
}

int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset)
{
	return -1;
}

int execl(const char *path, const char *arg0, ...)
{
	return 0;
}

int execv(const char *path, char *const argv[])
{
	return 0;
}

int pthread_kill(pthread_t thread, int sig)
{
	return -1;
}


sighandler_t posix_signal(int signum, sighandler_t handler)
{
    return signal((signum),(handler));
}

int getrlimit(int resource, struct rlimit *rlp)
{
    return 0;
}

int setrlimit(int resource, const struct rlimit *rlp)
{
    return 0;
}

int getrusage(int who, struct rusage *r_usage)
{
    return 0;
}