On Tue, Apr 08, 2008 at 05:49:09AM +0200, Tobias Ulmer wrote:
> Costs 250$/EUR or something last time i've checked.
The electronic version should be available for *ways* cheaper, like $18 or
so.
There's also a paper book by Wiley & Sons, with the rationale and standard,
costing ~50 EUR.
ISBN 0
On Mon, 2008-04-07 at 19:33 -0700, Ben Calvert wrote:
> 6.5.3.4 The sizeof operator
Googling the above gets you
http://c0x.coding-guidelines.com/6.5.3.4.html
On Mon, Apr 07, 2008 at 07:33:30PM -0700, Ben Calvert wrote:
>
> On Apr 7, 2008, at 2:20 PM, Tobias Ulmer wrote:
>> On Mon, Apr 07, 2008 at 02:01:14PM -0700, [EMAIL PROTECTED] wrote:
>>> Can we really assume that sizeof(char) is 1 ?
>>>
>>>
>>> RCS file: /cvs/src/lib/libc/stdio/fgetln.3,v
>>> retri
On Apr 7, 2008, at 2:20 PM, Tobias Ulmer wrote:
On Mon, Apr 07, 2008 at 02:01:14PM -0700, [EMAIL PROTECTED] wrote:
Can we really assume that sizeof(char) is 1 ?
RCS file: /cvs/src/lib/libc/stdio/fgetln.3,v
retrieving revision 1.15
diff -r1.15 fgetln.3
137c137
< if ((lbuf
It is so by definition.
> Can we really assume that sizeof(char) is 1 ?
>
>
> RCS file: /cvs/src/lib/libc/stdio/fgetln.3,v
> retrieving revision 1.15
> diff -r1.15 fgetln.3
> 137c137
> < if ((lbuf = malloc(len + 1)) == NULL)
> ---
> > if ((lbuf = mallo
On Mon, Apr 07, 2008 at 02:01:14PM -0700, [EMAIL PROTECTED] wrote:
> Can we really assume that sizeof(char) is 1 ?
>
>
> RCS file: /cvs/src/lib/libc/stdio/fgetln.3,v
> retrieving revision 1.15
> diff -r1.15 fgetln.3
> 137c137
> < if ((lbuf = malloc(len + 1)) == NULL)
> ---
>
[EMAIL PROTECTED] wrote:
> Can we really assume that sizeof(char) is 1 ?
Yes.
> RCS file: /cvs/src/lib/libc/stdio/fgetln.3,v
> retrieving revision 1.15
> diff -r1.15 fgetln.3
> 137c137
> < if ((lbuf = malloc(len + 1)) == NULL)
> ---
> > if ((lbuf = ma
Can we really assume that sizeof(char) is 1 ?
RCS file: /cvs/src/lib/libc/stdio/fgetln.3,v
retrieving revision 1.15
diff -r1.15 fgetln.3
137c137
< if ((lbuf = malloc(len + 1)) == NULL)
---
> if ((lbuf = malloc( sizeof(char) * (len + 1))) ==
NULL)
<[EMAI
8 matches
Mail list logo