Files
rtems/cpukit/libcsupport/src/kill_noposix.c
Sebastian Huber cfe8f7a9b7 doxygen: Switch @brief and @ingroup
This order change fixes the Latex documentation build via Doxygen.
2020-04-28 09:04:00 +02:00

49 lines
765 B
C

/**
* @file
*
* @ingroup libcsupport
*
* @brief Kill No POSIX
*
* Marginal implementations of some POSIX API routines
* to be used when POSIX is disabled.
*
* + kill
* + _kill_r
* + sleep
*/
/*
* 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 <rtems.h>
#include <signal.h>
/*
* These are directly supported (and completely correct) in the posix api.
*/
#if !defined(RTEMS_POSIX_API)
int kill( pid_t pid, int sig )
{
return 0;
}
#if defined(RTEMS_NEWLIB)
#include <reent.h>
int _kill_r( struct _reent *ptr, pid_t pid, int sig )
{
return 0;
}
#endif
#endif