[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] getline & getline_safe
From: |
Jim Meyering |
Subject: |
Re: [Bug-gnulib] getline & getline_safe |
Date: |
Mon, 28 Jul 2003 11:56:33 +0200 |
Bruno Haible <address@hidden> wrote:
...
>> Note that the FILE * keeps being pushed out by new arguments. The same
>> goes for the delimiter arguments relative to the size_t nmax (which
>> should be limit) argument. In contrast, getndelim2 suddenly reshuffles
>> all the arguments:
>>
>> extern ssize_t getndelim2 (char **lineptr, size_t *linesize, size_t nmax,
>> FILE *stream, int delim1, int delim2,
>> size_t offset);
>>
>>
>> I am arguing in favor of consistency to make the function more easily
>> accessible to humans who are familiar with its sister functions. I also
>> think that the grouping of related arguments make the function API more
>> accessible to humans.
>
> I'm neutral on this. What do the others think? Jim, Paul?
I find the arguments for consistency and ergonomics compelling.
I'm in favor of the change.
- Re: [Bug-gnulib] getline & getline_safe, (continued)
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/18
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/18
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/24
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/24
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/24
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/25
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/28
- Re: [Bug-gnulib] getline & getline_safe,
Jim Meyering <=
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/31
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/31
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/31
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/31
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/31
- Re: [Bug-gnulib] getline & getline_safe, Bruno Haible, 2003/07/24
- Re: [Bug-gnulib] getline & getline_safe, Derek Robert Price, 2003/07/24