source: rtems/cpukit/libcsupport/src/malloc_dirtier.c @ 7660e8b3

4.115
Last change on this file since 7660e8b3 was 7660e8b3, checked in by Sebastian Huber <sebastian.huber@…>, on 07/23/13 at 11:32:58

Include missing <string.h>

  • Property mode set to 100644
File size: 594 bytes
Line 
1/**
2 *  @file
3 *
4 *  @brief Dirty Memory Function
5 *  @ingroup MallocSupport
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2007.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.com/license/LICENSE.
15 */
16
17#if HAVE_CONFIG_H
18#include "config.h"
19#endif
20
21#include <rtems.h>
22#include <rtems/malloc.h>
23#include "malloc_p.h"
24
25#include <errno.h>
26#include <string.h>
27
28void rtems_malloc_dirty_memory(
29  void   *start,
30  size_t  size
31)
32{
33  (void) memset(start, 0xCF, size);
34}
Note: See TracBrowser for help on using the repository browser.