Whatever happened to the 'entry' keyword? Whatever happened to the 'entry' keyword? c c

Whatever happened to the 'entry' keyword?


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: 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.

(From http://archives.devshed.com/forums/c-c-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.


In FORTRAN, "ENTRY" could declare a second entry point into a subroutine. It was a structured programming nightware, and fortunately C decided not to adopt it.


The entry keyword came from PL/I and allowed multiple entry points into a function. The keyword was implemented by some compilers but was never standardized.