source: rtems/cpukit/posix/src/fork.c @ 4172953c

4.115
Last change on this file since 4172953c was 4172953c, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/10/11 at 05:34:15

2011-12-10 Ralf Corsépius <ralf.corsepius@…>

  • posix/src/fork.c: Include <unistd.h> for "fork" prototype. Don't include <sys/types.h> (unnecessary).
  • Property mode set to 100644
File size: 484 bytes
Line 
1/*
2 *  fork() - POSIX 1003.1b 3.1.1
3 *
4 *  COPYRIGHT (c) 1989-2007.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <unistd.h>
19
20#include <errno.h>
21#include <rtems/seterr.h>
22
23int fork( void )
24{
25  rtems_set_errno_and_return_minus_one( ENOSYS );
26}
Note: See TracBrowser for help on using the repository browser.