Each argument (if any) is converted and output according to the corresponding format specification in format. ![]() ![]() The sprintf_s function formats and stores a series of characters and values in buffer. swprintf_s returns the number of wide characters stored in buffer, not counting the terminating null wide character. Sprintf_s returns the number of bytes stored in buffer, not counting the terminating null character. If buffer or format is a null pointer, sprintf_s and swprintf_s return -1 and set errno to EINVAL. The number of characters written, or -1 if an error occurred. Syntax int sprintf_s(įor more information, see Format Specifications. These are versions of sprintf, _sprintf_l, swprintf, _swprintf_l, _swprintf_l with security enhancements as described in Security Features in the CRT.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |