aboutsummaryrefslogtreecommitdiff
path: root/libgloss/libnosys/fork.c
blob: c4724a3f0f1677cce69f34b0b71dc9f11d5e8e54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Stub version of fork.
 */

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

int
_fork (void)
{
  errno = ENOSYS;
  return -1;
}

stub_warning(_fork)