mirror of
https://github.com/Noratrieb/libuwuc.git
synced 2026-01-14 19:55:07 +01:00
14 lines
No EOL
209 B
C
14 lines
No EOL
209 B
C
#include <string.h>
|
|
#include <assert.h>
|
|
|
|
int main(void)
|
|
{
|
|
char buf[10];
|
|
|
|
memset(buf, 34, sizeof(buf));
|
|
|
|
for (int i = 0; i < 10; ++i)
|
|
{
|
|
assert((buf[i] == 34) && "memset failed to write byte");
|
|
}
|
|
} |