summary refs log tree commit diff
path: root/extra/palaver
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-06-09 14:31:15 -0400
committerJune McEnroe <june@causal.agency>2021-06-09 17:56:42 -0400
commite295e8f98f9c59aae6b1b511bad9979715a0fe7d (patch)
tree8e954e0244888b0eb649f527b21d2854e27e3ff6 /extra/palaver
parentAdd pounce-notify to README (diff)
downloadpounce-e295e8f98f9c59aae6b1b511bad9979715a0fe7d.tar.gz
pounce-e295e8f98f9c59aae6b1b511bad9979715a0fe7d.zip
Add seprintf
Based on seprint(2) from Plan 9. I'm not sure if my return value
exactly matches Plan 9's in the case of truncation. seprint(2) is
described only as returning a pointer to the terminating '\0', but
if it does so even in the case of truncation, it is awkward for the
caller to detect. This implementation returns end in the truncation
case, so that (ptr == end) indicates truncation.
Diffstat (limited to 'extra/palaver')
0 files changed, 0 insertions, 0 deletions
href='/src/commit/www/photo.causal.agency/trips.html?id=57e90a2d8f5f9b6385ffeb0e0e7b3237cb395b80&follow=1'>Add Fomapan 200 to films listJune McEnroe 2024-09-10Add August 29 picnic photosJune McEnroe 2024-09-08Apply some bold to trips renderingJune McEnroe 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe