Created
August 18, 2021 07:21
-
-
Save alsamitech/6332253dde4ce08a406bfc5a8085183b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void str_clear(char* restrict str){ | |
while(*str)*str++=0; | |
} | |
void str_set(char* restrict str, const char set){ | |
while(*str)*str++=set; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment