This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: memset() manpage prototype error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]