]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/strxcpyx.h
resolve: voidify sd_event_add_signal() and sd_event_set_watchdog()
[thirdparty/systemd.git] / src / basic / strxcpyx.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include <stddef.h>
5
6 #include "macro.h"
7
8 size_t strpcpy(char **dest, size_t size, const char *src);
9 size_t strpcpyf(char **dest, size_t size, const char *src, ...) _printf_(3, 4);
10 size_t strpcpyl(char **dest, size_t size, const char *src, ...) _sentinel_;
11 size_t strscpy(char *dest, size_t size, const char *src);
12 size_t strscpyl(char *dest, size_t size, const char *src, ...) _sentinel_;