Hi,

I have this x86 assembly code (I use it to flush the input away)

pushl stdin
pushl $STRING_LEN
pushl $long_string
call fgets

(it seems to works, because I don't have a segmentation fault)

but if I change pushl stdin with pushl $0, then I get a segmentation fault.

does this mean that stdin is not zero?
is the value stdin different on different computers?

(the program is run on a laptop)