Re: human-readable swap partition sizes with pstat -sh

From: Pawel Jakub Dawidek (pjd_at_FreeBSD.org)
Date: 01/06/05

  • Next message: Ceri Davies: "Re: Oracle & linprocfs (was: Re: linux kernel-land)"
    Date: Thu, 6 Jan 2005 23:58:57 +0100
    To: Brooks Davis <brooks@one-eyed-alien.net>
    
    
    

    On Thu, Jan 06, 2005 at 11:57:19AM -0800, Brooks Davis wrote:
    +> I'd argue that we might want to replace the int64_t in humanize_number
    +> with intmax_t since that wouldn't change the ABI (or API due to implicit
    +> casts), but would mean we wouldn't have to add a humanize_number128
    +> later if some architecture grows 128-bit ints for some reason or
    +> another.

    I like intmax_t also much better than int64_t, but I took it from NetBSD
    and they got int64_t there. Anyway, I think we don't have to be 100%
    compatible here and I'll look what can be done.

    -- 
    Pawel Jakub Dawidek                       http://www.wheel.pl
    pjd@FreeBSD.org                           http://www.FreeBSD.org
    FreeBSD committer                         Am I Evil? Yes, I Am!
    
    


    • application/pgp-signature attachment: stored

  • Next message: Ceri Davies: "Re: Oracle & linprocfs (was: Re: linux kernel-land)"

    Relevant Pages

    • Re: human-readable swap partition sizes with pstat -sh
      ... +> +> with intmax_t since that wouldn't change the ABI (or API due to implicit ... +> +> casts), but would mean we wouldn't have to add a humanize_number128 ...
      (freebsd-current)
    • Libidn 0.5.16 alpha
      ... Libidn is an implementation of the Stringprep, ... ** API and ABI is backwards compatible with the previous version. ... The stringprep_convert function has been added to gnulib, ...
      (comp.os.linux.announce)
    • GNU Libidn 0.5.5 alpha released (fwd)
      ... Libidn is an implementation of the Stringprep, ... specifications defined by the IETF Internationalized Domain Names ... ** API and ABI is backwards compatible with the previous version. ...
      (comp.os.linux.announce)
    • Re: [OT] ABI vs. API
      ... > An ABI could be the compiled implementation of an API. ... An API is defined in terms of a High Level Language (eg C or C++, ... algorithm used to perform the function the interface defines and there may be ...
      (Debian-User)
    • Re: Xen & VMI?
      ... it's the Xen ABI or the VMWare ABI or a mesh of the two - everyone can ... the 'hardware is changing fast so we cannot do a sane API' argument ... you /CAN/ do a sane API that lives for quite some time. ... interfaces are sane and we quickly adopt our internals. ...
      (Linux-Kernel)