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

Last change on this file since cd1e3fc0 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
RevLine 
[e64c4b2]1/*
[d7f7a4a]2 * SPDX-FileCopyrightText: 2005 Martin Decky
3 * SPDX-FileCopyrightText: 2018 Jiri Svoboda
[e64c4b2]4 *
[d7f7a4a]5 * SPDX-License-Identifier: BSD-3-Clause
[e64c4b2]6 */
7
8/** @addtogroup libc
9 * @{
10 */
11/** @file
12 */
13
[4805495]14#ifndef _LIBC_MEM_H_
15#define _LIBC_MEM_H_
[e64c4b2]16
[8d2dd7f2]17#include <stddef.h>
[bc56f30]18#include <_bits/decls.h>
19
20__C_DECLS_BEGIN;
[e64c4b2]21
[a5057cc]22extern void *memset(void *, int, size_t)
[8f99dbf]23 __attribute__((nonnull(1)));
[a5057cc]24extern void *memcpy(void *, const void *, size_t)
[8f99dbf]25 __attribute__((nonnull(1, 2)));
[53031c2]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)));
[2498b95]30extern void *memchr(const void *, int, size_t)
31 __attribute__((nonnull(1)));
[e64c4b2]32
[bc56f30]33__C_DECLS_END;
34
[e64c4b2]35#endif
36
37/** @}
38 */
Note: See TracBrowser for help on using the repository browser.