This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
memset() manpage prototype error
- From: "Howland Craig D (Craig)" <howland at LGSInnovations dot com>
- To: <newlib at sources dot redhat dot com>
- Date: Mon, 26 May 2008 19:26:14 -0400
- Subject: memset() manpage prototype error
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