glibc/tests/Regression/setvbuf-to-full-not-working/testcase.c
Sergey Kolosov ab4bc8a24e Extend the test coverage
Move some of the RHEL QE testcases upstream to Fedora.
2022-05-31 09:29:27 +02: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;
}