Re: setvbuf.3: document possible allocation failure

2017-08-19 Thread Ingo Schwarze
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,

Re: setvbuf.3: document possible allocation failure

2017-08-17 Thread Scott Cheloha
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[]) > { >

setvbuf.3: document possible allocation failure

2017-07-28 Thread Scott Cheloha
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");