Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top