diff options
author | June McEnroe <june@causal.agency> | 2021-06-09 14:31:15 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-06-09 17:56:42 -0400 |
commit | e295e8f98f9c59aae6b1b511bad9979715a0fe7d (patch) | |
tree | 8e954e0244888b0eb649f527b21d2854e27e3ff6 /calico.1 | |
parent | Add pounce-notify to README (diff) | |
download | pounce-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 'calico.1')
0 files changed, 0 insertions, 0 deletions