summaryrefslogtreecommitdiff
path: root/pom.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-09-12 15:40:56 -0400
committerpommicket <pommicket@gmail.com>2025-09-12 15:41:24 -0400
commitca21dcb53e41919fc255ad736986aa6ff1d5bd85 (patch)
tree08b0a41be6dacdbd9d1cc22e4931d150ef78e2ce /pom.h
parent802f11352a1f8ab25a222111d2ba254ed9f7113f (diff)
Implement sections
Diffstat (limited to 'pom.h')
-rw-r--r--pom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pom.h b/pom.h
index 7af38c8..4473562 100644
--- a/pom.h
+++ b/pom.h
@@ -106,6 +106,8 @@ typedef struct pom_item {
/// It must fill out the buffer as much as possible,
/// and return the number of bytes read.
/// A return value less than `len` indicates the end of the file was reached.
+/// `read_func` will not be called excessively/with lots of tiny reads—it's
+/// okay to do unbuffered reads in it.
///
/// `filename` is only used for errors.
POM__MUST_USE_L