----------------------------------------------------------------------------------
@MSGID: 1@reader2.panix.com> e0503a76
@REPLY: 1@reader2.panix.com> b36c9b6e
@REPLYADDR Hul Tytus <ht@panix.com>
@REPLYTO 2:5075/128 Hul Tytus
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@reader2.panix.com>
@RFC-References: 1@reader2.panix.com>
1@reader2.panix.com>
@TZUTC: -0000
@TID: FIDOGATE-5.12-ge4e8b94
Thanks Grant. I`d never seen those before and assumed they were
Lewin`s creation.
Hul
Grant Edwards <
invalid@invalid.invalid> wrote:
> On 2023-08-01, Hul Tytus <
ht@panix.com> wrote:
> > Lewin Edwards in his dosfs file system uses the ldiv()
functions shown below:
> > sector = ldiv(offset, SECTOR_SIZE).quot and
> > offset = ldiv(offset, SECTOR_SIZE).rem
> > Anybody know how this is declared or, maybe, defined?
> $ man ldiv
> ------------------------------------------------------------------------------
> div(3) Library Functions Manual div(3)
> NAME
> div, ldiv, lldiv, imaxdiv - compute quotient and remainder of an
inte???
> ger division
> LIBRARY
> Standard C library (libc, -lc)
> SYNOPSIS
> #include
> div_t div(int numerator, int denominator);
> ldiv_t ldiv(long numerator, long denominator);
> lldiv_t lldiv(long long numerator, long long denominator);
> #include
> imaxdiv_t imaxdiv(intmax_t numerator, intmax_t denominator);
> [...]
--- FIDOGATE 5.12-ge4e8b94
* Origin: PANIX Public Access Internet and UNIX, NYC (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441