tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Reuse strtonum(3) and reallocarray(3) from OpenBSD



On Sat, 29 Nov 2014, Kamil Rytarowski wrote:
My proposition is to add a new header in src/sys/sys/overflow.h (/usr/include/sys/overflow.h) with the following content:

operator_XaddY_overflow()
operator_XsubY_overflow()
operator_XmulY_overflow()

X = optional s (signed)
Y = optional l,ll, etc
[* see comment]

OK, so you have told us the names of the proposed functions.  But what
are their semantics, and why would they be useful?

Last but not least please stop enforcing programmers' fancy to produce this kind of art: https://github.com/ivmai/bdwgc/commit/83231d0ab5ed60015797c3d1ad9056295ac3b2bb :-)

Please don't assume that people reading your email messages have
convenient internet access.  It's fine to give URLs thatrexpand on what
you have said, but if you give the URL without any explanation then I
have no idea what you are talking about.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index