summaryrefslogblamecommitdiff
path: root/zap/src/strfill.c
blob: bd0af337137dd86ea0faed04b43140a7deb944b5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
  


                                                                                                                    

  
                     
 

                    

                   
                                                                                                             
/*
	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 <zap/mem.h>

#include <stdint.h>

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