Re: fprintf question
From: Lorinczy Zsigmond / Domonyik Mariann (lzsiga_at_axelero.hu)
Date: 03/19/04
- Next message: Gopu Bhaskar: "Disabling a socket."
- Previous message: Rich Teer: "Re: fprintf question"
- In reply to: tpang: "fprintf question"
- Next in thread: Casper H.S. Dik: "Re: fprintf question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 19 Mar 2004 06:39:05 +0100
tpang wrote:
> #include <stdio.h>
> main()
> {
> fprintf(stderr,"%s\n", 0);
> }
>
> This piece of code on HPUX print out nothing.
> This is what I want.
>
> But on RedHat 8.0
> This piece of code print out
> (null)
>
> I am porting code from HPUX to RedHat 8
> This behavior cause me lots of grief.
>
> How do I make RedHat to print out nothing.
try:
fprintf (stderr, "%.*s\n", 0, 0);
- Next message: Gopu Bhaskar: "Disabling a socket."
- Previous message: Rich Teer: "Re: fprintf question"
- In reply to: tpang: "fprintf question"
- Next in thread: Casper H.S. Dik: "Re: fprintf question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|