Re: K&R Exercise 6-2
- From: August Karlstrom <fusionfile@xxxxxxxxx>
- Date: Sat, 30 Aug 2008 14:06:25 +0200
Richard Heathfield wrote:
August Karlstrom said:So a library which exports e.g. the identifiers string_prepend and
string_append are not really C90 compliant?
Right, for two reasons:
(1) the names invade implementation namespace;
(2) the names are a touch on the long side.
In practice, (1) is often ignored, and (2) is practically always ignored. But strictly speaking, yes, you are correct.
Of the two reasons, (1) is probably the more important. Whilst it is certainly possible that some people are still using 6-sig-char linkers nowadays, it isn't terribly likely that terribly many people are. Even twenty years ago (and probably more), people were ignoring the 6-character thing, and it doesn't seem to have caused any major software crises.
Thanks for the clarification.
August
.
- References:
- K&R Exercise 6-2
- From: mdh
- Re: K&R Exercise 6-2
- From: August Karlstrom
- K&R Exercise 6-2
- Prev by Date: Re: K&R Exercise 6-2
- Next by Date: Re: char**
- Previous by thread: Re: K&R Exercise 6-2
- Next by thread: the struct haven't define when i use typedef
- Index(es):
Relevant Pages
|