C++ Logo

std-proposals

Advanced search

Re: Making parameter names clearer than func(true, false);

From: Thiago Macieira <thiago_at_[hidden]>
Date: Mon, 08 Jul 2019 17:31:13 -0300
On Monday, 8 July 2019 16:19:15 -03 Hyman Rosen wrote:
> We should be able to say
> ssize_t written = write(buf => "a", count => 1, fd => 2);

I'd like that. Who's going to modify the glibc headers so we can do that?

Right now, the header defines it as:

extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur;

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

Received on 2019-07-08 15:33:10