On 16/1/20 7:35 pm, [email protected] wrote:
> I would guess this is part of the reason why ssize_t was invented
> - so that half of the numeric range could be wasted in order for a
> function to be able to return -1, and/or ridiculous notions of
> symmetry.

Actually it is used with fseek… in particular the case where
whence=SEEK_CUR.  It allows you to go backwards relative to the current
file position.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.

Reply via email to