What is lseek of a TTY on macOS doing?
stackoverflow.com
stackoverflow.com
if (write_offset == INT64_MAX) {
/* writes are not possible */
error = EFBIG;
goto error_out;
}I posted that as an answer to the question, acknowledging you as the person who had pointed out the answer to me: https://stackoverflow.com/a/78934138/2147204