Deutsch   English   Français   Italiano  
<uv271f$3r9k2$4@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.lang.c
Subject: Re: Memory mapping: MAP_PRIVATE and msync()
Date: Tue, 9 Apr 2024 01:52:48 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <uv271f$3r9k2$4@dont-email.me>
References: <osGzrqwQ8DBTJ8mCFoPEiv6Pn0M@jntp>
	<qmtiixDX3flrgimP-RUFSW_hf7o@jntp> <uuvigf$340q8$1@dont-email.me>
	<uv0jik$3f285$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 09 Apr 2024 01:52:48 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c62da5eaa27d15bf3b04834dfd3595c9";
	logging-data="4040322"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18rDCfj++XVBupmliivd2ly"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:SBFU2FGAK+wo40MO/pLSy8tRBGo=
Bytes: 1589

On Mon, 8 Apr 2024 12:14:30 +0100, bart wrote:

> ... how did you manage to figure out the meanings and
> order of the parameters in order to be able to write those comments?

I read the docs.

> If you have 1000s of calls to such functions, will you have those
> comments plastered everwhere?

Yes.

> In a language with proper named/keyword arguments, you don't need to
> remember the order.

True. I take advantage of that--and defaults for omitted arguments--in 
Python.

But there are people in this noisegroup who don’t like me mentioning that.