File: execve.c

package info (click to toggle)
newlib 1.12.0.20041202-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 41,384 kB
  • ctags: 33,862
  • sloc: ansic: 321,125; makefile: 37,809; asm: 19,759; sh: 11,033; perl: 2,320; yacc: 432; lisp: 394; exp: 322; lex: 114; cpp: 37; awk: 25
file content (23 lines) | stat: -rw-r--r-- 338 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Stub version of execve.
 */

#include "config.h"
#include <_ansi.h>
#include <_syslist.h>
#include <errno.h>
#undef errno
extern int errno;
#include "warning.h"

int
_DEFUN (_execve, (name, argv, env),
        char  *name  _AND
        char **argv  _AND
        char **env)
{
  errno = ENOSYS;
  return -1;
}

stub_warning(_execve)