Event JSON
{
"id": "0a3a9326fafde4571793f83aea94e27a769d1abe4def739084275a0d443001bc",
"pubkey": "bf4354c655785fa9364dc9499bd2c7a41acbbaa17bf778d977983d5ac8a438b1",
"created_at": 1725338906,
"kind": 1,
"tags": [
[
"e",
"ad87e0ba60216d2c8d344c97ed91faf10614da3e5f18a25257fe1aa3cf090d8b",
"",
"root",
"69ab6e8a85d5c9d3a63375bfe3e9bb8aecfb13417131613e215caff4a8b62cac"
],
[
"p",
"bf4354c655785fa9364dc9499bd2c7a41acbbaa17bf778d977983d5ac8a438b1"
],
[
"p",
"69ab6e8a85d5c9d3a63375bfe3e9bb8aecfb13417131613e215caff4a8b62cac"
],
[
"e",
"baf3d8c36c249ea727f551359858091d15b3e377a6cafae65a487e40017af46e",
"",
"reply",
"69ab6e8a85d5c9d3a63375bfe3e9bb8aecfb13417131613e215caff4a8b62cac"
],
[
"proxy",
"https://shitpost.cloud/objects/c0d0b08f-8c4b-40bc-8ea1-cf787efc2b99",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://shitpost.cloud/objects/c0d0b08f-8c4b-40bc-8ea1-cf787efc2b99",
"pink.momostr"
],
[
"-"
]
],
"content": "The standard library avoids memory allocation in general. Even strdup is a non-standard extension. It is not safe to assume that the developer is using malloc, or how he is allocating memory. Therefore, any function which needs variable-sized memory is left as an exercise to the reader (which should be trivial and just included in your own general purpose library).\n\nThere are a variety of general helper libraries out there. Feel free to use mine: \nhttps://notabug.org/yzziizzy/sti \nhttps://github.com/yzziizzy/sti",
"sig": "eb902570f6db8c080d5c4bd33d73a92554fbe92d5762cde882d67d32ee7336fefac8f8221c1c35ce8b0ce6978e2af22c6cdc666d7c434693f3681186aa0b890e"
}