Re: scanf without malloc

From: Frank Kotler (fbkotler_at_comcast.net)
Date: 03/25/05

  • Next message: Beth: "Re: International Peace March (19th / 20th March 2005)"
    Date: Fri, 25 Mar 2005 05:23:52 -0500
    
    

    Randall Hyde wrote:
    >
    > "Gnic" <gasxxx@hotmail.com> wrote in message
    > news:5eqdnXLH-JEi6t7fRVn-sA@rogers.com...
    > > As I said before, I am programming in SPARC not in C.
    > >
    >
    > stdin uses the handle "1" and stdout uses the handle "2", IIRC.

    I'd expect 0 for stdin, 1 for stdout, 2 for stderr... but
    I'm not familiar with SPARC... As IIJIMA suggests, go by the
    C header files for your system.

    Best,
    Frank


  • Next message: Beth: "Re: International Peace March (19th / 20th March 2005)"

    Relevant Pages

    • Re: Are 80x86 badly designed processors ?
      ... > Motorola's and IBM's instruction set references don't count. ... My university bookstore sells a book on SPARC assembly: ... Assembly Language Programming, and C" by Richard P. Paul. ... > who hasn't enjoyed programming the alpha or PPC. ...
      (comp.lang.asm.x86)
    • Re: Admired designs / designs to study
      ... SPARC T1? ... TI C67x? ... Transmeta? ... "almost all programming can be viewed as an exercise in caching" ...
      (comp.arch)
    • Re: scanf without malloc
      ... I am programming in SPARC not in C. ... >> But how can I use fgets for standard input ...
      (alt.lang.asm)