7 return fgets( buffer, count, fp );
25 buffer_len =
sizeof(
buffer);
30 if( pfnReadString ==
NULL )
36 memset( buffer, 0, buffer_len );
38 if( pfnReadString( buffer,
sizeof( buffer ), fp ) ==
NULL )
50 buffer_len =
sizeof(
buffer) - 1;
55 char ch = buffer[buffer_len];
74 tmp_buf_len = buffer_len += 1;
81 tmp_buf_len = buffer_len + 1;
84 if( buffer[buffer_len]==10 && buffer_len!=0 )
86 if( buffer[buffer_len-1]==13 )
93 buffer[buffer_len] = 0;
96 src.
size = src.
len = buffer_len;
106 buffer_len = tmp_buf_len;
122 fp = (FILE*) handle->
opaque;
123 if( fp==stdout || fp==stderr )