我正在研究GCC中的各種編譯器選項,並觀察當我對要使用的標準進行更改時所做的更改。__isoc99_scanf和scanf
$ gcc Q1.c -Wall -save-temps -o Q1
$ vi Q1.s
我看到操作碼的一個作爲
call __isoc99_scanf
,現在當我與C89的標準編譯
$gcc Q1.c -Wall -save-temps -std=c89 -o Q1
$ vi Q1.s
我看到操作碼爲
call scanf
什麼是這兩個fo的區別有效期scanf
?任何我可以看到他們的來源的鏈接將受到高度讚賞。
感謝@Mat,我真的需要這些資本是工作.. :) – ArunMKumar 2013-05-04 15:22:41