Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2005 15:47:56 -0800
From:      Sean McNeil <sean@mcneil.com>
To:        Jung-uk Kim <jkim@niksun.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: undefined reference to `memset'
Message-ID:  <1111708076.37802.15.camel@server.mcneil.com>
In-Reply-To: <200503241826.46663.jkim@niksun.com>
References:  <IDVJ3H01.CW0@hadar.amcc.com> <20050324214956.GA99087@dragon.NUXI.org> <1111702231.2655.6.camel@server.mcneil.com> <200503241826.46663.jkim@niksun.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2005-03-24 at 18:26 -0500, Jung-uk Kim wrote:
> On Thursday 24 March 2005 05:10 pm, Sean McNeil wrote:
> --- >8 --- SNIP!!! --- >8 ---
> > void bug (void)
> > {
> >     int buf[100] = { 0 };
> >
> >     memset (buf, sizeof(buf), 0);
>                    ^^^^^^^^^^^^^^
>       memset (buf, 0, sizeof(buf));
> 
> Right? ;-)

Right :)

Same results, though.

Sean




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1111708076.37802.15.camel>