mirror of
https://github.com/curl/curl.git
synced 2026-04-13 12:41:42 +08:00
To avoid redefining the `fstat` system symbol, and to clarify `struct_stat` is a curl symbol. - introduce `curlx_fstat()` macro and use it. - rename `struct_stat` to `curl_struct_stat`. Also: - tests: replace direct `curlx_win32_stat()` call with `curlx_stat()`. - checksrc: disallow direct `_fstati64` and `fstat()` calls, except in examples. Closes #20496
37 lines
695 B
Plaintext
37 lines
695 B
Plaintext
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
#
|
|
# SPDX-License-Identifier: curl
|
|
|
|
allowfunc atoi
|
|
allowfunc atol
|
|
allowfunc calloc
|
|
allowfunc close
|
|
allowfunc fclose
|
|
allowfunc fdopen
|
|
allowfunc fopen
|
|
allowfunc fprintf
|
|
allowfunc free
|
|
allowfunc fstat
|
|
allowfunc gmtime
|
|
allowfunc localtime
|
|
allowfunc malloc
|
|
allowfunc open
|
|
allowfunc printf
|
|
allowfunc realloc
|
|
allowfunc snprintf
|
|
allowfunc socket
|
|
allowfunc sscanf
|
|
allowfunc strdup
|
|
allowfunc strerror
|
|
allowfunc vsnprintf
|
|
|
|
# Use of curl printf functions is discouraged
|
|
banfunc curl_maprintf
|
|
banfunc curl_mfprintf
|
|
banfunc curl_mprintf
|
|
banfunc curl_msnprintf
|
|
banfunc curl_mvaprintf
|
|
banfunc curl_mvfprintf
|
|
banfunc curl_mvprintf
|
|
banfunc curl_mvsnprintf
|