🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #348

setlinebuf(), fork(), and sockets

#348
From: Asgeir Eiriksson
Date: Wed, 05 Aug 1992 21:52
7 lines
673 bytes
When the stdout of a process is connected to a socket, it doesn't
seem to be line buffered. A call to setlinebuf(stdout) is required.

Is it possible to have stdout line buffered without the call to
setlinebuf(stdout)?

Thanks.
Technical Details
Message-ID: <1992Aug5.215248.8110@odin.corp.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!news.dell.com!swrinde!mips!odin!viking!asgeir

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!news.dell.com!swrinde!mips!odin!viking!asgeir
From: asgeir@viking.asd.sgi.com (Asgeir Eiriksson)
Newsgroups: comp.unix.programmer
Subject: setlinebuf(), fork(), and sockets
Message-ID: <1992Aug5.215248.8110@odin.corp.sgi.com>
Date: 5 Aug 92 21:52:48 GMT
Sender: news@odin.corp.sgi.com (Net News)
Organization: Silicon Graphics, Inc.  Mountain View, CA
Lines: 7
Nntp-Posting-Host: viking.asd.sgi.com