[ace-users] ACE_TCHAR use in ACE_OS

Stew Paddaso stew.paddaso at gmail.com
Wed Jul 18 12:43:02 CDT 2007

I noticed that certain functions in the ACE_OS namespace mix char, wchar_t,
and ACE_TCHAR. For example, there are 2 versions of fopen:


FILE* fopen (const char *filename, const ACE_TCHAR *mode);

FILE* fopen (const wchar_t *filename, const ACE_TCHAR *mode);


Why is this?  Why isn't there a single fopen function defined as:


FILE* fopen (const ACE_TCHAR *filename, const ACE_TCHAR *mode);






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20070718/c5408e3e/attachment.htm

More information about the Ace-users mailing list