'entry'关键字发生了什么? [英] Whatever happened to the 'entry' keyword?
问题描述
前几天在浏览我的白皮书时,我注意到了C关键字列表. 条目是该列表中的关键字之一.
While cruising through my white book the other day, I noticed in the list of C keywords. entry is one of the keywords on that list.
它保留供将来使用.回想我在Fortran的日子,有一种使用 entry 语句进行第二个参数签名或函数入口的函数.
It is reserved for future use. Thinking back to my Fortran days, there was a function of some sort that used an entry statement to make a second argument signature, or entry point into a function.
这是条目最初打算用于的目的吗?或完全不同的东西?
Is this what entry was originally intended to be used for? or something completely different?
输入关键字的故事是什么?
What is the story on the entry keyword?
推荐答案
我不知道,所以我在Google上找到了一些相关信息.这是我发现的.
I had no idea, so I googled to find something about this. This is what I found.
首先,它作为保留关键字被包含.
First, it was included as a reserved keyword.
Q :K& R1中提到的入口关键字是什么?
A :保留它是为了允许具有多个名称不同的入口点的功能,但已将其撤回.
Q: What was the entry keyword mentioned in K&R1?
A: It was reserved to allow functions with multiple, differently-named entry points, but it has been withdrawn.
(来自 http://archives.devshed. com/forums/cc-134/c-programming-faqs-371017.html .)
It was never standardized; some compilers used it, in a very personal way.
我猜后来被宣布过时了.
It was later declared obsolete, I guess.
这篇关于'entry'关键字发生了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!