Deutsch   English   Français   Italiano  
<v5t00n$ombn$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.arch
Subject: Re: streams and file locks, ancient OS history, ARM is sort of
 channeling the IBM 360
Date: Mon, 1 Jul 2024 01:16:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <v5t00n$ombn$1@dont-email.me>
References: <s7r87j1c3u6mim0db3ccbdvknvtjr4anu3@4ax.com>
	<2024Jun30.160845@mips.complang.tuwien.ac.at>
	<JWegO.24219$S_52.2144@fx08.iad>
	<2024Jun30.183810@mips.complang.tuwien.ac.at> <v5s6rc$22gn$1@gal.iecc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 01 Jul 2024 03:16:07 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="35befde2f32fa6750471555e4cd92fa9";
	logging-data="809335"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+rGyPADXbA+ccLNabUP6vu"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:9U43DLuvBfHDAGOcsCKE2o0BXPE=
Bytes: 1476

On Sun, 30 Jun 2024 18:06:36 -0000 (UTC), John Levine wrote:

> Squinting at the source code for FreeBSD's stdio, it only flushes writes
> when it fills the buffer or when it writes a \n character with the '\n'
> hard coded in the source code.

Both POSIX and C specs require this to be configurable
<https://manpages.debian.org/3/setbuf.3.en.html>.