본문 바로가기
C++

strcpy_s() 0xFD

by juheeL 2017. 7. 17.

출처 : https://kldp.org/node/91438




msdn 의 strcpy_s() 설명


The debug versions of these functions first fill the buffer with 0xFD.


라고 적혀 있습니다.

즉, strcpy_s() 의 일반적인 동작이 아니라


Visual Studio 군의 Debug 빌드에서만 저런 동작을 한다는 것이죠.