Per Vognsen on Nostr: If you're writing a C library please don't require zero-terminated strings as inputs. ...
If you're writing a C library please don't require zero-terminated strings as inputs. It isn't even a good way of interfacing with other C code (e.g. I want to pass a substring of a zero-terminated string).
Published at
2023-09-04 14:02:14Event JSON
{
"id": "0b922ccd7854f3b5df6c2bd8628cbf174610f0153393a94fc907d51412b940c4",
"pubkey": "a297d2ef6a36a76aa5241cfc4c0ab5ab13e37ab15aaa46b48dabd8cc3ace895c",
"created_at": 1693836134,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/pervognsen/statuses/111007244885174106",
"activitypub"
]
],
"content": "If you're writing a C library please don't require zero-terminated strings as inputs. It isn't even a good way of interfacing with other C code (e.g. I want to pass a substring of a zero-terminated string).",
"sig": "3da447c99e93be10dcec82fd40199edd249308e77c228f752fab164970aa1d5b553de7e1910edace97826474ea4e7c6e179cc3f76ae52c824bdf0f1a927f2349"
}