curl/lib
Daniel Stenberg 9053dbbf62
msnprintf: return number of printed characters excluding null byte
... even when the output is "capped" by the maximum length argument.

Clarified in the docs.

Closes #7361
2021-07-08 10:05:39 +02:00
..
vauth infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
vquic infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
vssh infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
vtls infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
.gitattributes
.gitignore
altsvc.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
altsvc.h
amigaos.c copyright: update copyright year ranges to 2021 2021-05-26 08:18:11 +02:00
amigaos.h
arpa_telnet.h
asyn-ares.c asyn-ares: remove check for 'data' in Curl_resolver_cancel 2021-06-13 23:42:57 +02:00
asyn-thread.c CURLOPT_IPRESOLVE: preventing wrong IP version from being used 2021-05-20 16:58:31 +02:00
asyn.h hostip: remove conn->data from resolver functions 2021-01-22 08:25:09 +01:00
base64.c
bufref.c bufref: buffer reference support 2021-04-22 09:05:53 +02:00
bufref.h bufref: buffer reference support 2021-04-22 09:05:53 +02:00
c-hyper.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
c-hyper.h
checksrc.pl checksrc: complain on == NULL or != 0 checks in conditions 2021-04-22 09:10:17 +02:00
CMakeLists.txt cmake: make libcurl output filename configurable 2021-04-23 18:42:31 +02:00
config-amigaos.h configure/cmake: remove checks for unused gethostbyaddr and gethostbyaddr_r 2021-06-18 13:52:21 +02:00
config-dos.h config: remove now-unused macros 2021-05-19 00:36:01 +02:00
config-mac.h config: remove now-unused macros 2021-05-19 00:36:01 +02:00
config-os400.h configure/cmake: remove checks for unused gethostbyaddr and gethostbyaddr_r 2021-06-18 13:52:21 +02:00
config-plan9.h configure/cmake: remove checks for unused gethostbyaddr and gethostbyaddr_r 2021-06-18 13:52:21 +02:00
config-riscos.h configure/cmake: remove checks for unused gethostbyaddr and gethostbyaddr_r 2021-06-18 13:52:21 +02:00
config-tpf.h configure/cmake: remove checks for unused gethostbyaddr and gethostbyaddr_r 2021-06-18 13:52:21 +02:00
config-vxworks.h configure/cmake: remove checks for unused gethostbyaddr and gethostbyaddr_r 2021-06-18 13:52:21 +02:00
config-win32.h cmake: fix support for UnixSockets feature on Win32 2021-06-21 14:52:27 +02:00
config-win32ce.h misc: fix typos in comments which repeat a word 2021-06-28 12:41:56 +02:00
conncache.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
conncache.h lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
connect.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
connect.h lib: use int type for more port variables 2021-02-09 02:53:31 -05:00
content_encoding.c lib: fix 0-length Curl_client_write calls 2021-04-29 15:02:32 +02:00
content_encoding.h chunk/encoding: remove conn->data references 2021-01-21 13:19:58 +01:00
cookie.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
cookie.h cookies: track expiration in jar to optimize removals 2021-06-08 09:31:19 +02:00
curl_addrinfo.c cmake: fix support for UnixSockets feature on Win32 2021-06-21 14:52:27 +02:00
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake cmake: remove libssh2 feature checks 2021-07-05 22:44:00 +02:00
curl_ctype.c
curl_ctype.h
curl_des.c
curl_des.h
curl_endian.c curl_endian: remove the unused Curl_write64_le function 2021-06-20 23:38:32 +02:00
curl_endian.h config: remove CURL_SIZEOF_CURL_OFF_T use only SIZEOF_CURL_OFF_T 2021-03-11 10:11:56 +01:00
curl_fnmatch.c
curl_fnmatch.h
curl_get_line.c hsts: enable by default 2021-04-19 08:22:16 +02:00
curl_get_line.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
curl_gssapi.h
curl_hmac.h
curl_krb5.h krb5: remove the unused 'overhead' function 2021-04-25 14:51:34 +02:00
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memory.h
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c curl_multibyte: Remove local encoding fallbacks 2021-06-21 01:57:16 -04:00
curl_multibyte.h copyright: update copyright year ranges to 2021 2021-03-27 23:00:14 +01:00
curl_ntlm_core.c Curl_ntlm_core_mk_nt_hash: fix OOM in error path 2021-06-01 13:38:01 +02:00
curl_ntlm_core.h ntlm: support version 2 on 32-bit platforms 2021-04-09 09:40:49 +02:00
curl_ntlm_wb.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
curl_ntlm_wb.h lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
curl_path.c tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
curl_path.h curl_path: remove conn->data use 2021-01-19 17:08:49 +01:00
curl_printf.h
curl_range.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
curl_range.h curl_range: remove conn->data 2021-01-20 14:59:11 +01:00
curl_rtmp.c conn: add 'attach' to protocol handler, make libssh2 use it 2021-05-17 17:57:50 +02:00
curl_rtmp.h
curl_sasl.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
curl_sasl.h sasl: use 'unsigned short' to store mechanism 2021-05-12 00:16:52 +02:00
curl_setup_once.h configure: include <time.h> unconditionally 2021-04-07 16:08:01 +02:00
curl_setup.h cmake: fix support for UnixSockets feature on Win32 2021-06-21 14:52:27 +02:00
curl_sha256.h
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curlx.h
dict.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
dict.h
doh.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
doh.h hostip: remove conn->data from resolver functions 2021-01-22 08:25:09 +01:00
dotdot.c
dotdot.h
dynbuf.c
dynbuf.h dynbuf: bump the max HTTP request to 1MB 2021-03-06 22:48:35 +01:00
easy.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
easygetopt.c
easyif.h
easyoptions.c SSL: support in-memory CA certs for some backends 2021-05-05 02:29:16 -04:00
easyoptions.h
escape.c
escape.h
file.c conn: add 'attach' to protocol handler, make libssh2 use it 2021-05-17 17:57:50 +02:00
file.h
fileinfo.c
fileinfo.h
firefox-db2pem.sh
formdata.c formdata: avoid "Argument cannot be negative" warning 2021-07-01 14:15:16 +02:00
formdata.h copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
ftp.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
ftp.h lib: save a bit of space with some structure packing 2021-01-20 22:52:34 -05:00
ftplistparser.c tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
ftplistparser.h
getenv.c
getinfo.c urldata: merge "struct DynamicStatic" into "struct UrlState" 2021-03-26 23:19:20 +01:00
getinfo.h
gopher.c conn: add 'attach' to protocol handler, make libssh2 use it 2021-05-17 17:57:50 +02:00
gopher.h
hash.c tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
hash.h
hmac.c
hostasyn.c hostip: remove conn->data from resolver functions 2021-01-22 08:25:09 +01:00
hostcheck.c hsts: ignore numberical IP address hosts 2021-05-30 19:49:40 +02:00
hostcheck.h
hostip4.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
hostip6.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
hostip.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
hostip.h hsts: ignore numberical IP address hosts 2021-05-30 19:49:40 +02:00
hostsyn.c
hsts.c hsts: ignore numberical IP address hosts 2021-05-30 19:49:40 +02:00
hsts.h hsts: enable by default 2021-04-19 08:22:16 +02:00
http2.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
http2.h version: turn version number functions into returning void 2021-06-30 23:23:34 +02:00
http_aws_sigv4.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
http_aws_sigv4.h lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
http_chunks.c Curl_chunker: shrink the struct 2021-01-27 08:48:08 +01:00
http_chunks.h Curl_chunker: shrink the struct 2021-01-27 08:48:08 +01:00
http_digest.c lib: fix type of len passed to *printf's %*s 2021-06-30 23:53:58 +02:00
http_digest.h http: use credentials from transfer, not connection 2021-02-13 22:36:15 +01:00
http_negotiate.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
http_negotiate.h lib: remove conn->data uses 2021-01-24 18:15:03 +01:00
http_ntlm.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
http_ntlm.h lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
http_proxy.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
http_proxy.h conn_shutdown: if closed during CONNECT cleanup properly 2021-06-11 12:43:53 +02:00
http.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
http.h c-hyper: add support for transfer-encoding in the request 2021-07-05 22:46:01 +02:00
idn_win32.c
if2ip.c
if2ip.h
imap.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
imap.h
inet_ntop.c configure/cmake: remove checks for unused inet_ntoa and inet_ntoa_r 2021-06-18 13:52:18 +02:00
inet_ntop.h
inet_pton.c
inet_pton.h
krb5.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
ldap.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
libcurl.plist
libcurl.rc
libcurl.vers.in
llist.c tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
llist.h
Makefile.am
makefile.amiga
makefile.dj copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
Makefile.inc bufref: buffer reference support 2021-04-22 09:05:53 +02:00
Makefile.m32 copyright: update copyright year ranges to 2021 2021-03-27 23:00:14 +01:00
Makefile.netware configure/cmake: remove checks for unused gethostbyaddr and gethostbyaddr_r 2021-06-18 13:52:21 +02:00
Makefile.vxworks
md4.c tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
md5.c gnutls: assume nettle crypto support 2021-02-18 23:06:47 +01:00
memdebug.c copyright: update copyright year ranges to 2021 2021-03-27 23:00:14 +01:00
memdebug.h
mime.c tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
mime.h copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
mk-ca-bundle.pl copyright: fix missing year (range) updates 2021-01-29 14:35:13 +01:00
mk-ca-bundle.vbs
mprintf.c msnprintf: return number of printed characters excluding null byte 2021-07-08 10:05:39 +02:00
mqtt.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
mqtt.h
multi.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
multihandle.h openssl: avoid static variable for seed flag 2021-06-29 14:18:15 +02:00
multiif.h lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
netrc.c netrc: skip 'macdef' definitions 2021-06-13 23:44:41 +02:00
netrc.h
non-ascii.c tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
non-ascii.h
nonblock.c build: remove all traces of USE_BLOCKING_SOCKETS 2021-02-25 16:41:35 +01:00
nonblock.h
nwlib.c
nwos.c
openldap.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
optiontable.pl
parsedate.c
parsedate.h
pingpong.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
pingpong.h pingpong: rename the curl_pp_transfer enum to use PP prefix 2021-02-04 23:06:03 +01:00
pop3.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
pop3.h lib: save a bit of space with some structure packing 2021-01-20 22:52:34 -05:00
progress.c progress: reset limit_size variables at transfer start 2021-05-11 16:32:11 +02:00
progress.h lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
psl.c
psl.h
quic.h version: turn version number functions into returning void 2021-06-30 23:23:34 +02:00
rand.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
rand.h
rename.c
rename.h
rtsp.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
rtsp.h configure: disable RTSP when hyper is selected 2021-06-10 08:42:46 +02:00
select.c tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
select.h lib: don't compare fd to FD_SETSIZE when using poll 2021-06-11 10:33:32 +02:00
sendf.c msnprintf: return number of printed characters excluding null byte 2021-07-08 10:05:39 +02:00
sendf.h lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00
setopt.c test269: disable for hyper 2021-06-03 23:11:11 +02:00
setopt.h
setup-os400.h
setup-vms.h tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
setup-win32.h
sha256.c gnutls: assume nettle crypto support 2021-02-18 23:06:47 +01:00
share.c tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
share.h urldata: make magic be the first struct field 2021-01-20 08:51:01 +01:00
sigpipe.h sigpipe: ignore SIGPIPE when using wolfSSL as well 2021-04-26 12:59:42 +02:00
slist.c
slist.h
smb.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
smb.h config: remove CURL_SIZEOF_CURL_OFF_T use only SIZEOF_CURL_OFF_T 2021-03-11 10:11:56 +01:00
smtp.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
smtp.h lib: save a bit of space with some structure packing 2021-01-20 22:52:34 -05:00
sockaddr.h
socketpair.c Revert "Revert "socketpair: fix potential hangs"" 2021-06-05 12:58:13 +02:00
socketpair.h copyright: update copyright year ranges to 2021 2021-03-27 23:00:14 +01:00
socks_gssapi.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
socks_sspi.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
socks.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
socks.h lib: more conn->data cleanups 2021-01-19 09:14:51 +01:00
speedcheck.c
speedcheck.h
splay.c tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
splay.h
strcase.c
strcase.h
strdup.c
strdup.h
strerror.c CURLE_SETOPT_OPTION_SYNTAX: new error name for wrong setopt syntax 2021-06-02 23:03:55 +02:00
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
system_win32.c tidy-up: make conditional checks more consistent 2021-04-22 09:10:17 +02:00
system_win32.h
telnet.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
telnet.h
tftp.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
tftp.h
timeval.c copyright: update copyright year ranges to 2021 2021-05-26 08:18:11 +02:00
timeval.h
transfer.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
transfer.h transfer: remove conn->data use 2021-01-19 17:07:02 +01:00
url.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
url.h url: reduce conn->data references 2021-01-26 10:00:59 +01:00
urlapi-int.h
urlapi.c lib: use %u instead of %ld for port number printf 2021-06-30 23:25:35 +02:00
urldata.h c-hyper: abort CONNECT response reading early on non 2xx responses 2021-06-10 08:42:27 +02:00
version_win32.c
version_win32.h
version.c version: turn version number functions into returning void 2021-06-30 23:23:34 +02:00
warnless.c warnless: simplify type size handling 2021-06-04 15:08:10 +02:00
warnless.h warnless.h: remove the prototype for curlx_ultosi 2021-01-26 16:32:27 +01:00
wildcard.c
wildcard.h
x509asn1.c infof: remove newline from format strings, always append it 2021-07-07 22:54:01 +02:00
x509asn1.h lib: pass in 'struct Curl_easy *' to most functions 2021-01-17 23:56:09 +01:00