cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Weird string preceeding function declara
Weird string preceeding function declaration
Jun 4, 2011 at 3:46am UTC
Deathly
(21)
size_t __cdecl wcslen (
const
wchar_t
*) ;
What does __cdec1 mean here? Is this something specific to windows programming? Why doesn't cplusplus reference have wcslen function in it? (it's like strlen in string.h but for wchar_t's)
Jun 4, 2011 at 3:54am UTC
Zhuge
(4664)
Yes, I'm pretty sure it is a Windows function.
_cdecl
stands for "C declaration" or something similar, and represents the calling convention.
http://msdn.microsoft.com/en-us/library/zkwh89ks%28v=VS.100%29.aspx
Topic archived. No new replies allowed.