Re: basic file IO (was Re: early draft of I/O PDD)

2006-03-14 Thread Nicholas Clark
On Sun, Mar 05, 2006 at 07:11:59PM +, Nicholas Clark wrote: > =item * > > C retrieves information about a file on the filesystem. It takes a > string filename or an integer argument of a UNIX file descriptor, and an > integer flag for the type of information requested. It returns an

Re: basic file IO (was Re: early draft of I/O PDD)

2006-03-05 Thread Leopold Toetsch
On Mar 5, 2006, at 20:11, Nicholas Clark wrote: C flags the stream as operating in line-buffer mode (see C below). Lines are truncated at 64K. Is there a fundamental need for a hard hard limit? There used to be a hard limit until about a year ago. This is of course gone now. leo

basic file IO (was Re: early draft of I/O PDD)

2006-03-05 Thread Nicholas Clark
On Fri, Mar 03, 2006 at 11:27:05AM -0800, Allison Randal wrote: =item * C retrieves a single line from a stream into a string. Calling C flags the stream as operating in line-buffer mode (see C below). Lines are truncated at 64K. Is there a fundamental need for a hard hard limit?