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

4.115
Last change on this file since be1b8a7 was 5cb175bb, checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/13 at 19:22:31

cpukit/posix: Doxygen group is POSIXAPI

  • Property mode set to 100644
File size: 578 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Inoperable implementation of fork() for POSIX threads
5 * @ingroup POSIXAPI
6 */
7
8/*
9 *  fork() - POSIX 1003.1b 3.1.1
10 *
11 *  COPYRIGHT (c) 1989-2007.
12 *  On-Line Applications Research Corporation (OAR).
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.rtems.com/license/LICENSE.
17 */
18
19#if HAVE_CONFIG_H
20#include "config.h"
21#endif
22
23#include <unistd.h>
24
25#include <errno.h>
26#include <rtems/seterr.h>
27
28int fork( void )
29{
30  rtems_set_errno_and_return_minus_one( ENOSYS );
31}
Note: See TracBrowser for help on using the repository browser.