mirror of
https://github.com/curl/curl.git
synced 2026-04-12 12:21:42 +08:00
Use non-deprecated CRT function variants on Windows. - introduce `curlx_fdopen()`, `curlx_close()` and use them. Map them to non-deprecated, underscored, CRT functions on Windows. - replace `close()` uses with either `sclose()` (for sockets) or `curlx_close()` (for files). - map `fileno`, `unlink`, `isatty` to their non-deprecated, underscored, versions on Windows. - tool_dirhie: map `mkdir` to `_mkdir` on Windows. - easy: use `_strdup()` on Windows, regardless of how `HAVE_STRDUP` is set. - cmake: assume `HAVE_STRDUP` on Windows. To allow dropping a detection hack using `_CRT_NONSTDC_NO_DEPRECATE` with MSVC. Windows always has `_strdup()` which the code uses, but also needs `HAVE_STRDUP` defined to disable curl's own `strdup()` implementation. - curl_setup.h: drop `_CRT_NONSTDC_NO_DEPRECATE` as no longer necessary. Closes #20212 |
||
|---|---|---|
| .. | ||
| BUFQ.md | ||
| BUFREF.md | ||
| CHECKSRC.md | ||
| CLIENT-READERS.md | ||
| CLIENT-WRITERS.md | ||
| CODE_STYLE.md | ||
| CONNECTION-FILTERS.md | ||
| CURLX.md | ||
| DYNBUF.md | ||
| HASH.md | ||
| LLIST.md | ||
| MID.md | ||
| MQTT.md | ||
| MULTI-EV.md | ||
| NEW-PROTOCOL.md | ||
| PORTING.md | ||
| RATELIMITS.md | ||
| README.md | ||
| SCORECARD.md | ||
| SPLAY.md | ||
| STRPARSE.md | ||
| TIME-KEEPING.md | ||
| TLS-SESSIONS.md | ||
| UINT_SETS.md | ||
| WEBSOCKET.md | ||
Internals
This directory contains documentation covering libcurl internals; APIs and concepts that are useful for contributors and maintainers.
Public APIs are documented in the public documentation, not here.