summaryrefslogtreecommitdiffstats
path: root/lib/string/strtcpy.c
blob: 74de4fc4b5c687e8d02dad8ee210c6b8856ec6e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * SPDX-FileCopyrightText: 2022-2023, Alejandro Colomar <alx@kernel.org>
 * SPDX-License-Identifier: BSD-3-Clause
 */


#include <config.h>

#include <stddef.h>
#include <sys/types.h>

#ident "$Id$"

#include "string/strtcpy.h"


extern inline ssize_t strtcpy(char *restrict dst, const char *restrict src,
    size_t dsize);