diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-09-23 14:46:56 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-09-23 14:46:56 +0300 |
commit | 0aa436242079ab162deec10459446acc33b6f8ee (patch) | |
tree | 2a8d2075123b147748db40f45d047fd04253c706 /gawkapi.h | |
parent | 09fa9d26d41cc70e63469522d71674883bae5521 (diff) | |
download | egawk-0aa436242079ab162deec10459446acc33b6f8ee.tar.gz egawk-0aa436242079ab162deec10459446acc33b6f8ee.tar.bz2 egawk-0aa436242079ab162deec10459446acc33b6f8ee.zip |
Small cleanup in gawkapi.h.
Diffstat (limited to 'gawkapi.h')
-rw-r--r-- | gawkapi.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -149,6 +149,7 @@ typedef struct awk_input { int fd; /* file descriptor */ #define INVALID_HANDLE (-1) void *opaque; /* private data for input parsers */ + /* * The get_record function is called to read the next record of data. * @@ -187,8 +188,8 @@ typedef struct awk_input { const awk_fieldwidth_info_t **field_width); /* - * No argument prototype on read_func to allow for older systems - * whose headers are not up to date. + * This replaces the POSIX read() system call. Use it if you want to + * manage reading raw bytes yourself, and let gawk parse the record. */ ssize_t (*read_func)(int, void *, size_t); |