repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git]
/
toolchain
/
gcc
/
libgloss
/
libnosys
/
getpid.c
blob
0ea19238ebcbf521c4332fd1b65499c6d30d15ae
1
/*
2
* Stub version of getpid.
3
*/
4
5
#include
"config.h"
6
#include <_ansi.h>
7
#include <_syslist.h>
8
#include <errno.h>
9
#undef errno
10
extern
int
errno
;
11
#include
"warning.h"
12
13
int
14
_DEFUN
(
_getpid
, (),
15
_NOARGS
)
16
{
17
errno
=
ENOSYS
;
18
return
-
1
;
19
}
20
21
stub_warning
(
_getpid
)