🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by James Van Artsdalen Thu, 15 Jun 1989 00:50
Re: Efficiency is important
#118
Author: James Van Artsdalen
Date: Thu, 15 Jun 1989 00:50
15 lines
1134 bytes
> Date: Wed, 14 Jun 89 00:59:41 EST
> From: ray@gibbs.physics.purdue.edu (Ray Moody)

> +   /* Added Wed Jun 14 00:53:21 EST 1989 by Ray Moody */
> +   /* We call setlinebuf () so that the readline package does not use
> +      one (expensive) write () system call for each character it prints. */
> +   setlinebuf(stderr);

This needs to be conditionalized on BSD or something.  The system V
method is to call setvbuf(stderr, buf, _IOLBF, sizeof buf).  We get to
supply the buffer.  I've no idea who releases that buffer, but I guess
we needn't worry about it.
---
James R. Van Artsdalen          james@bigtex.cactus.org   "Live Free or Die"
Dell Computer Co    9505 Arboretum Blvd Austin TX 78759         512-338-8789
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads