The ANSI_SYNOPSIS in memset.c says (at least for 1.16.0):
void *memset(const void *<[dst]>, int <[c]>,
size_t <[length]>);
The const for dst is in error. This error is (obviously)
only in the
comment and the man page. The line should read
void *memset(void *<[dst]>, int <[c]>, size_t
<[length]>);
Craig Howland
Re: memset() manpage prototype error
2008-05-27 13:44:56
Fixed. Thanks.
-- Jeff J.
Howland Craig D (Craig) wrote:
> The ANSI_SYNOPSIS in memset.c says (at least for
1.16.0):
>
> void *memset(const void *<[dst]>, int
<[c]>, size_t <[length]>);
>
> The const for dst is in error. This error is
(obviously) only in the
> comment and the man page. The line should read
>
> void *memset(void *<[dst]>, int <[c]>,
size_t <[length]>);
>
> Craig Howland
>