This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients Niclas Larsson, eric.smith, larry, python-dev
Date 2020-07-01.12:33:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593606824.43.0.428407651933.issue41170@roundup.psfhosted.org>
In-reply-to
Content
strnlen() isn't standard C, but an exciting new function strnlen_s() is, as of C11.

https://en.cppreference.com/w/c/string/byte/strlen

(At this rate, we should be able to code CPython using that standard in about 2030.)

But!  I found a 2005 thread on /. talking about strnlen in MSVC.  So maybe it's there.  Though Microsoft has this funny habit of putting an underscore in front of C library functions that aren't standard, so maybe it's _strnlen().
History
Date User Action Args
2020-07-01 12:33:44larrysetrecipients: + larry, eric.smith, python-dev, Niclas Larsson
2020-07-01 12:33:44larrysetmessageid: <1593606824.43.0.428407651933.issue41170@roundup.psfhosted.org>
2020-07-01 12:33:44larrylinkissue41170 messages
2020-07-01 12:33:44larrycreate