delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/12/18/19:15:26

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: PLEASE EXPLAIN v2.953
Date: 19 Dec 2004 00:11:29 GMT
Lines: 27
Message-ID: <32jv9hF3ldm8cU4@news.dfncis.de>
References: <4tg7s0182f12t4dlbri2pdq2uqq6ausos7 AT 4ax DOT com>
X-Trace: news.dfncis.de k1mL/foIxHHmV33cv1AOZANMhlC9t125KUPXdTOH6z519v1N0VmQvy2ckG
X-Orig-Path: not-for-mail
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Radical NetSurfer <RadSurfer AT yahoo DOT com> wrote:

[... much snipped ...]

> What is this indicating?

To put it bluntly: it indicates that you haven't read the fine manual
on printf() with sufficient attention yet.  Please do so immediately.

> %ld works, but get this, according to  'libc.txt' which describes the
> library functions (by category, etc.) and looking at  
>    printf

There is no 'libc.txt' that is supposed to document the details of
DJGPP's implementation of printf().  The main documentation is libc.info.

> there is *NO* sign of &h,  no sign of 'l' as a long modifier,

Huh?  What's this, then (quoted straight from 'info libc alpha printf':

   *  An optional conversion qualifier, which may be `h' to specify
     `short', `l' to specify long ints, or `L' to specify long doubles.
     Long long type can be specified by `L' or `ll'.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019