History log of /netbsd-src/common/lib/libc/string/memset.c (Results 1 – 12 of 12)
Revision Date Author Comments
# 0d57af0f 30-Mar-2019 jmcneill <jmcneill@NetBSD.org>

Fix typo: __aebi_memset -> __aeabi_memset


# 240c43e6 06-Feb-2018 mrg <mrg@NetBSD.org>

- remove two more _DIAGASSERT() checks against not NULL for functions
with arguments with nonnull attributes. in two cases, leave
code behind that should set defaults to "(null)".


# 96f5bbd2 02-Dec-2013 joerg <joerg@NetBSD.org>

Improve EABI handling of string functions. Most importantly, fix
__aeabi_memset, which has the arguments in the wrong order.


# 4041630e 08-Nov-2011 joerg <joerg@NetBSD.org>

libkern.h maps memcmp, memset and strcpy to the compiler builtins on
some platforms, so make sure to #undef them first.


# d0b9e6c9 18-Mar-2009 tsutsui <tsutsui@NetBSD.org>

- remove bcmp(9), bcopy(9), and bzero(9) from libkern since <sys/systm.h> has
macro which replace them with mem*() functions in #ifdef _KERNEL as noted
in man pages
- move declarations of bcopy(3

- remove bcmp(9), bcopy(9), and bzero(9) from libkern since <sys/systm.h> has
macro which replace them with mem*() functions in #ifdef _KERNEL as noted
in man pages
- move declarations of bcopy(3) and bzero(3) into <lib/libsa/stand.h>
since they are still in libsa for some MD standalone sources
(I guess all bcmp(3) in standalone sources have been replaced with memcmp(3)
but they should be replaced with memcmp() anyway)

show more ...


# 245ee9af 17-Mar-2009 he <he@NetBSD.org>

Add local declarations of bcmp() and bzero() because libkern.h no longer
provides those declarations.

It's possible that these can be removed later when we find out whether
these functions are actua

Add local declarations of bcmp() and bzero() because libkern.h no longer
provides those declarations.

It's possible that these can be removed later when we find out whether
these functions are actually needed in the kernel, but meanwhile, this
allows alpha, hp700 and the powerpc ports (who all build these as part
of libkern) to complete their builds.

show more ...


# 73e50f11 29-Mar-2008 he <he@NetBSD.org>

Do like the non-__OPTIMIZE_SIZE__ variant, and compile memset() unless
BZERO is defined, instead of requiring MEMSET to be defined.

Avoids violating the principle of least astonishment, and also fix

Do like the non-__OPTIMIZE_SIZE__ variant, and compile memset() unless
BZERO is defined, instead of requiring MEMSET to be defined.

Avoids violating the principle of least astonishment, and also fixes
the build of stand/ and kernels for (at least) alpha.

show more ...


# a58a2cdd 29-Mar-2008 he <he@NetBSD.org>

Make the size-optimized memset() actually conform to the man page
by returning the first arg.


# f5c28010 26-Mar-2008 apb <apb@NetBSD.org>

Add /* __OPTIMIZE_SIZE__ */ comments on relevant #else and #endif lines.
Also change some #ifdef to #if defined() for consistency.


# 985a3d11 25-Mar-2008 christos <christos@NetBSD.org>

add bcopy and bzero for the benefit of loadfile.


# a8565cf9 04-Jun-2007 christos <christos@NetBSD.org>

handle fortify, ansify.


# 37c9f0a6 20-Dec-2005 christos <christos@NetBSD.org>

Merge libkern + libc common files. As requested by core.