glibc/tests/Regression/setvbuf-to-full-not-working/testcase.c
Sergey Kolosov 823c0aee76 CI Tests: add fmf test plan
Resolves: RHEL-65327
2025-01-08 19:01:11 +00:00

17 lines
237 B
C

#include <stdio.h>
#include <unistd.h>
int main(void)
{
setvbuf(stderr, NULL, _IOFBF, BUFSIZ);
setvbuf(stdout, NULL, _IONBF, 0);
fprintf(stderr, "stderr");
fprintf(stdout, "stdout");
sleep(1);
printf("\n");
return 0;
}