]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/libsystemd/sd-utf8/sd-utf8.c
a33c50975e755bbc9acb7425a8621bd5cec7652a
1 /* SPDX-License-Identifier: LGPL-2.1+ */
3 This file is part of systemd.
5 Copyright 2013 Lennart Poettering
13 _public_
const char *sd_utf8_is_valid(const char *s
) {
14 assert_return(s
, NULL
);
16 return utf8_is_valid(s
);
19 _public_
const char *sd_ascii_is_valid(const char *s
) {
20 assert_return(s
, NULL
);
22 return ascii_is_valid(s
);