source: mainline/uspace/lib/c/include/mem.h@ d7f7a4a

Last change on this file since d7f7a4a was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago

Replace some license headers with SPDX identifier

Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.

  • Property mode set to 100644
File size: 748 bytes
Line 
1/*
2 * SPDX-FileCopyrightText: 2005 Martin Decky
3 * SPDX-FileCopyrightText: 2018 Jiri Svoboda
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
8/** @addtogroup libc
9 * @{
10 */
11/** @file
12 */
13
14#ifndef _LIBC_MEM_H_
15#define _LIBC_MEM_H_
16
17#include <stddef.h>
18#include <_bits/decls.h>
19
20__C_DECLS_BEGIN;
21
22extern void *memset(void *, int, size_t)
23 __attribute__((nonnull(1)));
24extern void *memcpy(void *, const void *, size_t)
25 __attribute__((nonnull(1, 2)));
26extern void *memmove(void *, const void *, size_t)
27 __attribute__((nonnull(1, 2)));
28extern int memcmp(const void *, const void *, size_t)
29 __attribute__((nonnull(1, 2)));
30extern void *memchr(const void *, int, size_t)
31 __attribute__((nonnull(1)));
32
33__C_DECLS_END;
34
35#endif
36
37/** @}
38 */
Note: See TracBrowser for help on using the repository browser.