This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: wcstombs


Klaas Gadeyne wrote:
[...]
Did I miss something?

I did :-)


RETURNS
This implementation of <<wcstombs>> returns <<0>> if
<[s]> is <<NULL>> or is the empty string;

So the next question: Is there reason why the implementation is not
conform the Single unix spec?

The short answer: eCos is not UNIX.


The longer answer: eCos does try to comply with C90 and C99 (although it doesn't by a long way with the latter), and selected parts of POSIX. UNIX compatibility is a "would be nice" thing, but not if it means adding bells and whistles that just bloat code until eCos slowly grows to be the size of UNIX. Therefore bells and whistles that only exist in the SUS are unlikely to be implemented.

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
------["The best things in life aren't things."]------      Opinions==mine

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]