2 Copyright © 2004, The AROS Development Team. All rights reserved.
11 BOOL
ReadLine(BPTR fh
, STRPTR buffer
, ULONG size
)
13 if (FGets(fh
, buffer
, size
) != NULL
)
15 ULONG last
= strlen(buffer
) - 1;
16 if (buffer
[last
] == '\n') buffer
[last
] = '\0';