tags:

views:

109

answers:

1

Hi, everyone:

As the title described, how to use c library function fgets in assembly language? Indeed, I want to know how to get the file pointer to stdin. Thanks for your reply.

+5  A: 

you can write a simple program using fgets and compile it with gcc -S to see how to do it

Tom Dignan
I recommend repeating with various levels of optimization as well. +1
Tim Post