mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
![]() The %.*s is very handy to print strings where you have a length, but there is no NUL termination. It's quite widely supported but at least one vendor RTOS toolchain doesn't have it. Since there aren't that many uses of it yet, audit all uses and convert to a new helper lws_strnncpy() which uses the smaller of two lengths. |
||
---|---|---|
.. | ||
api-test-async-dns | ||
api-test-dhcpc | ||
api-test-fts | ||
api-test-gencrypto | ||
api-test-jose | ||
api-test-lws_dsh | ||
api-test-lws_sequencer | ||
api-test-lws_struct-json | ||
api-test-lws_tokenize | ||
api-test-lwsac | ||
api-test-smtp_client | ||
README.md |
These are buildable test apps that run in CI to confirm correct api operation.
name | tests |
---|---|
api-test-lwsac | LWS Allocated Chunks api |
api-test-lws_struct-json | Selftests for lws_struct JSON serialization and deserialization |
api-test-lws_tokenize | Generic secure string tokenizer api |
api-test-fts | LWS Full-text Search api |
api-test-gencrypto | LWS Generic Crypto apis |
api-test-jose | LWS JOSE apis |
api-test-smtp_client | SMTP client for sending emails |