The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: msokolov@ivan.Harhan.ORG (Michael Sokolov)
Subject: [TUHS] question about V7 ls(1) vs. sys/stat.h and ls.c
Date: Thu, 22 May 03 20:44:26 PDT	[thread overview]
Message-ID: <0305230344.AA13738@ivan.Harhan.ORG> (raw)

Chris Palmer <chris at nodewarrior.org> wrote:

> What's with that "511" in there?

To divide by N rounding up you first add N-1, then divide by N.

MS



             reply	other threads:[~2003-05-23  3:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-23  3:44 Michael Sokolov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-25 16:22 Kirk McKusick
2003-05-22  9:24 Aharon Robbins
2003-05-23  3:32 ` Chris Palmer
2003-05-23  4:02   ` M. Warner Losh
2003-05-23  4:17   ` Greg 'groggy' Lehey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0305230344.AA13738@ivan.Harhan.ORG \
    --to=msokolov@ivan.harhan.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).