Blame lib/replace/system/wait.h

rpm-build 95f51c
#ifndef _system_wait_h
rpm-build 95f51c
#define _system_wait_h
rpm-build 95f51c
/* 
rpm-build 95f51c
   Unix SMB/CIFS implementation.
rpm-build 95f51c
rpm-build 95f51c
   waitpid system include wrappers
rpm-build 95f51c
rpm-build 95f51c
   Copyright (C) Andrew Tridgell 2004
rpm-build 95f51c
rpm-build 95f51c
     ** NOTE! The following LGPL license applies to the replace
rpm-build 95f51c
     ** library. This does NOT imply that all of Samba is released
rpm-build 95f51c
     ** under the LGPL
rpm-build 95f51c
   
rpm-build 95f51c
   This library is free software; you can redistribute it and/or
rpm-build 95f51c
   modify it under the terms of the GNU Lesser General Public
rpm-build 95f51c
   License as published by the Free Software Foundation; either
rpm-build 95f51c
   version 3 of the License, or (at your option) any later version.
rpm-build 95f51c
rpm-build 95f51c
   This library is distributed in the hope that it will be useful,
rpm-build 95f51c
   but WITHOUT ANY WARRANTY; without even the implied warranty of
rpm-build 95f51c
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
rpm-build 95f51c
   Lesser General Public License for more details.
rpm-build 95f51c
rpm-build 95f51c
   You should have received a copy of the GNU Lesser General Public
rpm-build 95f51c
   License along with this library; if not, see <http://www.gnu.org/licenses/>.
rpm-build 95f51c
rpm-build 95f51c
*/
rpm-build 95f51c
rpm-build 95f51c
#ifdef HAVE_SYS_WAIT_H
rpm-build 95f51c
#include <sys/wait.h>
rpm-build 95f51c
#endif
rpm-build 95f51c
rpm-build 95f51c
#include <signal.h>
rpm-build 95f51c
rpm-build 95f51c
#ifndef SIGCLD
rpm-build 95f51c
#define SIGCLD SIGCHLD
rpm-build 95f51c
#endif
rpm-build 95f51c
rpm-build 95f51c
#ifdef HAVE_SETJMP_H
rpm-build 95f51c
#include <setjmp.h>
rpm-build 95f51c
#endif
rpm-build 95f51c
rpm-build 95f51c
#ifdef HAVE_SYS_UCONTEXT_H
rpm-build 95f51c
#include <sys/ucontext.h>
rpm-build 95f51c
#endif
rpm-build 95f51c
rpm-build 95f51c
#if !defined(HAVE_SIG_ATOMIC_T_TYPE)
rpm-build 95f51c
typedef int sig_atomic_t;
rpm-build 95f51c
#endif
rpm-build 95f51c
rpm-build 95f51c
#if !defined(HAVE_WAITPID) && defined(HAVE_WAIT4)
rpm-build 95f51c
int rep_waitpid(pid_t pid,int *status,int options);
rpm-build 95f51c
#endif
rpm-build 95f51c
rpm-build 95f51c
#endif