summaryrefslogtreecommitdiff
path: root/zap/src/strfill.c
blob: a113094038e900a7d5afa7aabab6304edb0141e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/*
	Copyright 2022 Gabriel Jensen.
	This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
	If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

#include <zap/priv.h>

#include <stdint.h>

void zap_strfill(char * const _str,char const _chr) {zap_memfill(_str,zap_strlen(_str),(uint_least8_t)_chr);}