CODE_STYLE.md: sync banned function list with checksrc.pl

Also alpha sort the list in checksrc.pl.

Closes #19733
This commit is contained in:
Viktor Szakats 2025-11-27 18:32:35 +01:00
parent 5c22bd5384
commit 986e6d4eae
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 87 additions and 51 deletions

View file

@ -334,14 +334,31 @@ This is the full list of functions generally banned.
_access
_mbscat
_mbsncat
_open
_tcscat
_tcsdup
_tcsncat
_tcsncpy
_waccess
_wcscat
_wcsdup
_wcsncat
_wfopen
_wfreopen
_wopen
accept
accept4
access
aprintf
atoi
atol
fclose
fdopen
fopen
fprintf
freeaddrinfo
freopen
getaddrinfo
gets
gmtime
LoadLibrary
@ -351,9 +368,19 @@ This is the full list of functions generally banned.
LoadLibraryExW
LoadLibraryW
localtime
mbstowcs
msnprintf
mvsnprintf
open
printf
recv
send
snprintf
socket
socketpair
sprintf
sscanf
stat
strcat
strerror
strncat
@ -362,6 +389,15 @@ This is the full list of functions generally banned.
strtok_r
strtol
strtoul
vaprintf
vfprintf
vprintf
vsnprintf
vsprintf
wcscpy
wcsdup
wcsncpy
wcstombs
WSASocket
WSASocketA
WSASocketW