目前的情况是:
我无法访问运行在Linux上的机器,这只是一个我无法安装任何IDE的嵌入式平台(它在LINUX中,是我的目标),所以我不得不从 my Microsoft PC上开发应用程序。
问题是:我应该使用Microsoft库吗?因为我是在Microsoft environment中开发,还是应该使用Linux库?因为我的target is Linux
我正在写一个装配程序供练习。汇编程序使用c库函数。我特别关注fget()函数。fgets手册页声明:
fgets() reads in at most one less than size characters from stream and
stores them into the buffer pointed to by s. Reading stops after an
EOF or a newline. If a newline is read, it is stored into the buffer.
A terminating null byte ('\0&