#[unsafe(no_mangle)]pub unsafe extern "C" fn patch_seq_read_line_plus(
stack: Stack,
) -> StackExpand description
Read a line from stdin with explicit EOF detection
Returns the line and a status flag:
- ( line 1 ) on success (line includes trailing newline)
- ( “” 0 ) at EOF
Stack effect: ( – String Int )
The + suffix indicates this returns a result pattern (value + status).
§Line Ending Normalization
Line endings are normalized to \n regardless of platform. Windows-style
\r\n endings are converted to \n. This ensures consistent behavior
across different operating systems.
§Safety
Always safe to call