source: rtems/cpukit/libcsupport/src/kill_noposix.c @ da154e14

4.115
Last change on this file since da154e14 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 755 bytes
Line 
1/*
2 *  Marginal implementations of some POSIX API routines
3 *  to be used when POSIX is disabled.
4 *
5 *    + kill
6 *    + _kill_r
7 *    + __kill
8 *    + sleep
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.com/license/LICENSE.
13 */
14
15#if HAVE_CONFIG_H
16#include "config.h"
17#endif
18
19#include <rtems.h>
20
21#include <unistd.h>
22
23/*
24 *  These are directly supported (and completely correct) in the posix api.
25 */
26
27#if !defined(RTEMS_POSIX_API)
28int kill( pid_t pid, int sig )
29{
30  return 0;
31}
32
33#if defined(RTEMS_NEWLIB)
34#include <reent.h>
35
36int _kill_r( struct _reent *ptr, pid_t pid, int sig )
37{
38  return 0;
39}
40#endif
41
42int __kill( pid_t pid, int sig )
43{
44  return 0;
45}
46#endif
Note: See TracBrowser for help on using the repository browser.