forked from Imagelibrary/rtems
Added ENOSYS stubs for a number of process routines.
This commit is contained in:
17
c/src/exec/posix/src/execl.c
Normal file
17
c/src/exec/posix/src/execl.c
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* execl() - POSIX 1003.1b 3.1.2
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int execl(
|
||||||
|
const char *path,
|
||||||
|
const char *arg,
|
||||||
|
...
|
||||||
|
)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
17
c/src/exec/posix/src/execle.c
Normal file
17
c/src/exec/posix/src/execle.c
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* execle() - POSIX 1003.1b 3.1.2
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int execle(
|
||||||
|
const char *path,
|
||||||
|
char const *arg,
|
||||||
|
...
|
||||||
|
)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
16
c/src/exec/posix/src/execlp.c
Normal file
16
c/src/exec/posix/src/execlp.c
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
* execlp() - POSIX 1003.1b 3.1.2
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int execlp(
|
||||||
|
const char *file,
|
||||||
|
const char *arg,
|
||||||
|
...
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
16
c/src/exec/posix/src/execv.c
Normal file
16
c/src/exec/posix/src/execv.c
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
* execv() - POSIX 1003.1b 3.1.2
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int execv(
|
||||||
|
const char *file,
|
||||||
|
char *const argv[],
|
||||||
|
...
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
18
c/src/exec/posix/src/execve.c
Normal file
18
c/src/exec/posix/src/execve.c
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* execve() - POSIX 1003.1b 3.1.2
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int execve(
|
||||||
|
const char *path,
|
||||||
|
char *const argv[],
|
||||||
|
char *const envp[],
|
||||||
|
...
|
||||||
|
)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
16
c/src/exec/posix/src/execvp.c
Normal file
16
c/src/exec/posix/src/execvp.c
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
* execvp() - POSIX 1003.1b 3.1.2
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int execvp(
|
||||||
|
const char *path,
|
||||||
|
char const *argv[]
|
||||||
|
)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
14
c/src/exec/posix/src/fork.c
Normal file
14
c/src/exec/posix/src/fork.c
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
/*
|
||||||
|
* fork() - POSIX 1003.1b 3.1.1
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int fork( void )
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
18
c/src/exec/posix/src/pthreadatfork.c
Normal file
18
c/src/exec/posix/src/pthreadatfork.c
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* pthread_atfork() - POSIX 1003.1b 3.1.3
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int pthread_atfork(
|
||||||
|
void (*prepare)(void),
|
||||||
|
void (*parent)(void),
|
||||||
|
void (*child)(void)
|
||||||
|
)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
17
cpukit/posix/src/execl.c
Normal file
17
cpukit/posix/src/execl.c
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* execl() - POSIX 1003.1b 3.1.2
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int execl(
|
||||||
|
const char *path,
|
||||||
|
const char *arg,
|
||||||
|
...
|
||||||
|
)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
17
cpukit/posix/src/execle.c
Normal file
17
cpukit/posix/src/execle.c
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* execle() - POSIX 1003.1b 3.1.2
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int execle(
|
||||||
|
const char *path,
|
||||||
|
char const *arg,
|
||||||
|
...
|
||||||
|
)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
16
cpukit/posix/src/execlp.c
Normal file
16
cpukit/posix/src/execlp.c
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
* execlp() - POSIX 1003.1b 3.1.2
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int execlp(
|
||||||
|
const char *file,
|
||||||
|
const char *arg,
|
||||||
|
...
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
16
cpukit/posix/src/execv.c
Normal file
16
cpukit/posix/src/execv.c
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
* execv() - POSIX 1003.1b 3.1.2
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int execv(
|
||||||
|
const char *file,
|
||||||
|
char *const argv[],
|
||||||
|
...
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
18
cpukit/posix/src/execve.c
Normal file
18
cpukit/posix/src/execve.c
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* execve() - POSIX 1003.1b 3.1.2
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int execve(
|
||||||
|
const char *path,
|
||||||
|
char *const argv[],
|
||||||
|
char *const envp[],
|
||||||
|
...
|
||||||
|
)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
16
cpukit/posix/src/execvp.c
Normal file
16
cpukit/posix/src/execvp.c
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
* execvp() - POSIX 1003.1b 3.1.2
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int execvp(
|
||||||
|
const char *path,
|
||||||
|
char const *argv[]
|
||||||
|
)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
14
cpukit/posix/src/fork.c
Normal file
14
cpukit/posix/src/fork.c
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
/*
|
||||||
|
* fork() - POSIX 1003.1b 3.1.1
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int fork( void )
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
18
cpukit/posix/src/pthreadatfork.c
Normal file
18
cpukit/posix/src/pthreadatfork.c
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
/*
|
||||||
|
* pthread_atfork() - POSIX 1003.1b 3.1.3
|
||||||
|
*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
|
int pthread_atfork(
|
||||||
|
void (*prepare)(void),
|
||||||
|
void (*parent)(void),
|
||||||
|
void (*child)(void)
|
||||||
|
)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user