rain.c

Jacob Ritorto jacob.ritorto at gmail.com
Tue Dec 2 14:29:46 CST 2014


On Tue, Dec 2, 2014 at 1:22 PM, Holm Tiffe <holm at freibergnet.de> wrote:
>
>
> Tell us what you see when you use the C-preprocessor only on that file:
>
> gcc -E rain.c |less
>
> and then search in the output for setbuf:
>
>
> float cols, lines;
>
>     setbuf(__stdoutp,malloc(1024));
>     if (!(term=getenv("TERM"))) {
>

ok, Holm, on OpenSolaris, gcc -E rain.c |less gives:


    float cols, cur_term-> _c3;

    setbuf((&__iob[1]),malloc(1024));
    if (!(term=getenv("TERM"))) {


I think that means it worked, right?

--jake


More information about the cctech mailing list