summaryrefslogblamecommitdiffstats
path: root/cpukit/posix/src/fork.c
blob: 252f2405154461151f8d6f5209a91c59d3629c9d (plain) (tree)
1
2
3
4
5
6
7
8
9


        
                    

                                                               

   
  

                                




                                                           
                                         

   
                    


                   

                   
                  
                         


                
                                                 
 
/**
 * @file
 *
 * @ingroup POSIXAPI
 *
 * @brief Inoperable implementation of fork() for POSIX threads
 */

/*
 *  fork() - POSIX 1003.1b 3.1.1
 *
 *  COPYRIGHT (c) 1989-2007.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include <unistd.h>

#include <errno.h>
#include <rtems/seterr.h>

int fork( void )
{
  rtems_set_errno_and_return_minus_one( ENOSYS );
}