version 1.93, 2001/08/07 09:39:30
|
version 1.94, 2001/12/09 19:12:45
|
Line 2805 Create line-buffer max-line 2 + allot
|
Line 2805 Create line-buffer max-line 2 + allot
|
@end example |
@end example |
|
|
@code{read-line ( addr u1 fd -- u2 flag ior )} reads up to u1 bytes into |
@code{read-line ( addr u1 fd -- u2 flag ior )} reads up to u1 bytes into |
the buffer at addr, and returns the number of bytes read, a flag that's |
the buffer at addr, and returns the number of bytes read, a flag that is |
true when the end of file is reached, and an error code. |
false when the end of file is reached, and an error code. |
|
|
@code{compare ( addr1 u1 addr2 u2 -- n )} compares two strings and |
@code{compare ( addr1 u1 addr2 u2 -- n )} compares two strings and |
returns zero if both strings are equal. It returns a positive number if |
returns zero if both strings are equal. It returns a positive number if |