Re: [hackers] [sbase][PATCH] Make 'w' command print byte count

From: Laslo Hunhold <>
Date: Mon, 14 Sep 2020 09:31:42 +0200

On Sun, 13 Sep 2020 15:14:53 -0700
Michael Forney <> wrote:

Dear Michael,

> I think we should use a different type than int here. I'm not sure if
> size_t or off_t is more appropriate, but size_t is probably
> reasonable.

I think size_t is more reasonable here, because it's easier to work
with (e.g. because it actually has POSIX-defined limits) and ed might
work on pipe input that can exceed the file-size-limits, but probably
not the memory-address-limits.

With best regards

Received on Mon Sep 14 2020 - 09:31:42 CEST

This archive was generated by hypermail 2.3.0 : Mon Sep 14 2020 - 09:36:32 CEST