summaryrefslogblamecommitdiffstats
path: root/cpukit/posix/src/waitpid.c
blob: d95e47560733702a5436ceb372fff529b85cbc01 (plain) (tree)
1
2
3
4
5
6
7
8

         
  
                                            
                     


   




                                                           
                                         

   



                   


                      
                         
 



                

 
                                                 
 
/**
 *  @file
 *
 *  @brief Wait for Process to Change State 
 *  @ingroup POSIXAPI
 */

/*
 *  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.
 */

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

#include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>
#include <rtems/seterr.h>

int waitpid(
  pid_t pid,
  int *stat_loc,
  int options
)
{
  rtems_set_errno_and_return_minus_one( ENOSYS );
}