File: stdlib_ext.h

package info (click to toggle)
optee-os 4.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,560 kB
  • sloc: ansic: 441,914; asm: 12,903; python: 3,719; makefile: 1,676; sh: 238
file content (18 lines) | stat: -rw-r--r-- 365 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (c) 2019, Linaro Limited
 */

/*
 * This file provides extensions to functions defined in <stdlib.h>
 */

#ifndef __STDLIB_EXT_H
#define __STDLIB_EXT_H

#include <stddef.h>

/* Overwrite buffer with a fixed pattern and free it. @ptr may be NULL. */
void free_wipe(void *ptr);

#endif /* __STDLIB_EXT_H */