![]() |
|
|||
File indexing completed on 2025-05-11 08:24:15
0001 /** 0002 * @file 0003 * 0004 * @ingroup libcsupport 0005 * 0006 * @brief Kill No POSIX 0007 * 0008 * Marginal implementations of some POSIX API routines 0009 * to be used when POSIX is disabled. 0010 * 0011 * + kill 0012 * + _kill_r 0013 * + sleep 0014 */ 0015 0016 /* 0017 * The license and distribution terms for this file may be 0018 * found in the file LICENSE in this distribution or at 0019 * http://www.rtems.org/license/LICENSE. 0020 */ 0021 0022 #ifdef HAVE_CONFIG_H 0023 #include "config.h" 0024 #endif 0025 0026 #include <rtems.h> 0027 0028 #include <signal.h> 0029 0030 /* 0031 * These are directly supported (and completely correct) in the posix api. 0032 */ 0033 0034 #if !defined(RTEMS_POSIX_API) 0035 int kill( pid_t pid, int sig ) 0036 { 0037 return 0; 0038 } 0039 0040 #if defined(RTEMS_NEWLIB) 0041 #include <reent.h> 0042 0043 int _kill_r( struct _reent *ptr, pid_t pid, int sig ) 0044 { 0045 return 0; 0046 } 0047 #endif 0048 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |