Sha256: 2acae8c63be39d9db2432b76e6a47f40f72e4e40e76022afb11c3c0a4b91c658

Contents?: true

Size: 1.19 KB

Versions: 76

Compression:

Stored size: 1.19 KB

Contents

#include "symbian.h"

#include <sys/signal.h>
#include <fcntl.h>
#include <pthreadtypes.h>
#include <errno.h>
#include <stdio.h>

char **environ = 0;

typedef void (*sighandler_t)(int);

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

int sigfillset(sigset_t * set)
{
	return 0;
}
	
int sigdelset(sigset_t * set, int signum)
{
	return 0;
}

int sigprocmask(int how, const sigset_t * set, sigset_t * oldset)
{
	return 0;
}

int raise(int sig)
{
	return 0;
}

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

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

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

int sigmask(int signum) {
	return -1;
}

int sigblock(int mask) {
	return -1;
}

int sigsetmask(int mask) {
	return -1;
}

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

int execl(const char * arg1, const char * arg2, ...){
  return 0;
}

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

int _symbian_close(int fd){
    errno = EBADF;
    return 0;
//	return close(fd);
}

int _symbian_fclose(FILE* f){
    errno = EBADF;
    return 0;
//	return close(fd);
}

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
rhodes-3.0.2 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.2.beta.1 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.1 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.1.beta.8 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.1.beta.7 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.1.beta.6 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.1.beta.5 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.1.beta.4 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.1.beta.3 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.1.beta.2 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.0 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.0.beta.7 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.0.beta.6 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.0.beta.5 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.0.beta.4 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.0.beta.3 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.0.beta.2 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-3.0.0.beta.1 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-2.4.1 platform/symbian/rubylib/src/symbian_stubs.c
rhodes-2.4.1.beta.1 platform/symbian/rubylib/src/symbian_stubs.c