Re: [Vserver] stederr

From: Robin Lee Powell <rlpowell_at_digitalkingdom.org>
Date: Mon 10 Oct 2005 - 18:32:59 BST
Message-ID: <20051010173259.GB25303@chain.digitalkingdom.org>

On Mon, Oct 10, 2005 at 12:27:07PM -0400, Chuck wrote:
> I have a simple c program that outputs to stderr. while it works
> in the host it does not work in a guest which i am assuming is due
> to stderr being a kernel thing..

Erm. I think you have something very wrong. Plenty of programs in
my guest output to stderr. But let me test, just in case:

mooix:/tmp# cat test.c
#include <stdio.h>
#include <stdlib.h>

void main(void)
{
        fprintf( stderr, "test.\n" );
}
mooix:/tmp# gcc test.c -o test
test.c: In function 'main':
test.c:5: warning: return type of 'main' is not 'int'
mooix:/tmp# ./test
test.
mooix:/tmp#

-Robin

-- 
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/
Reason #237 To Learn Lojban: "Homonyms: Their Grate!"
Proud Supporter of the Singularity Institute - http://singinst.org/
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Oct 10 18:33:19 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 10 Oct 2005 - 18:33:22 BST by hypermail 2.1.8