View Single Post
  #4   Spotlight this post!  
Unread 28-10-2003, 14:47
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Weird Stuff in ifi_startup.c

Quote:
Originally posted by ScottWolchok
First of all, what does the underscore at the start of all these functions signify?
Scott

The underscore in the function name is usually used to signify an internal library function. This is a design decision that provides a few benefits to the end programmer.

The first is that it is easy to identify the functions that are provided.

The second is that the library authors are able to use meaningful names within their functions, yet they don't take valid function names away. For example, in your example above, if the library used entry() instead of _entry(), the end programmer may not be allowed to write a function named entry.

Hope this makes sense