lseek(2) BSD buglet

der Mouse
2010-08-11T18:13:35Z

lseek(2) (noticed on 3.23, 3.25 has similar wording) says, in part,

SVr1-3 returns long instead of off_t, BSD returns int.

While the BSDs are not a single monolithic entity, NetBSD has returned
off_t from lseek(2) since 1.5 at the very latest, meaning late 2000.
I'd be surprised if there's a non-orphaned BSD left that still uses
int.

I'm not sure what wording would be best. Depends on whether you think
it's worth mentioning the historical practice from the days when BSD
deserved the B in its name or not, I'd say. Perhaps something like

..., BSD from Berkeley returned int but modern BSD variants
have switched to off_t.

or

..., most (all?) BSDs use off_t.

or some such.

Note, if you want to write back to me for any reason, you will not get
through from gmail (nor hotmail nor yahoo webmail; there seems to be
something about running a big webmailer that's incompatible with
running a civilized shop). Depending on where you're sending from, you
may get better results from with mouse-S783fYmB3Ccdnm+yROfE0A@public.gmane.org and/or
mouse-N7zJMUF80UksA/PxXw9srA@public.gmane.org - actually, sending to all three might not be a bad
idea.

Of course, if you don't need to write back, that's no issue. :)

/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse-NcIlfYlhY41Ekk/fuQG8RGD2FQJk+8+b@public.gmane.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B