Skip to content
Advertisement

Tag: fgetc

Behavior of fgetc() function in C

I am looking for an easy way to manage file opening and closing in x86-64 assembly on linux. I thought the easiest way would be to write a c file containing functions that I could call without having to worry about stability. So I wrote this function : And then I read the port like so: Where PORT.p is a

Advertisement