Hi,
Scott Cheloha wrote on Fri, Jul 28, 2017 at 08:33:16PM -0500:
> Unlikely to happen during normal use, but setvbuf(3) can fail
> to allocate your buffer:
>
> /* prog.c */
> #include
>
> int
> main(int argc, char *argv[])
> {
> if (setvbuf(stdout,
3 week bump.
--
Scott Cheloha
> On Jul 28, 2017, at 8:33 PM, Scott Cheloha wrote:
>
> Hi,
>
> Unlikely to happen during normal use, but setvbuf(3) can fail
> to allocate your buffer:
>
> /* prog.c */
> #include
>
> int
> main(int argc, char *argv[])
> {
>
Hi,
Unlikely to happen during normal use, but setvbuf(3) can fail
to allocate your buffer:
/* prog.c */
#include
int
main(int argc, char *argv[])
{
if (setvbuf(stdout, NULL, _IOFBF, 0))
perror("setvbuf");