From owner-freebsd-audit Thu Oct 11 9: 3:11 2001 Delivered-To: freebsd-audit@freebsd.org Received: from nas.dgap.mipt.ru (nas.dgap.mipt.ru [194.85.81.203]) by hub.freebsd.org (Postfix) with ESMTP id 844DB37B401; Thu, 11 Oct 2001 09:02:59 -0700 (PDT) Received: from localhost (andrew@localhost) by nas.dgap.mipt.ru (8.11.6/8.11.6) with ESMTP id f9BG2uo56271; Thu, 11 Oct 2001 20:02:56 +0400 (MSD) (envelope-from andrew@nas.dgap.mipt.ru) Date: Thu, 11 Oct 2001 20:02:54 +0400 (MSD) From: "Andrew L. Neporada" To: Mike Barcroft Cc: audit@FreeBSD.org Subject: Re: strnstr(3) - New libc function for review In-Reply-To: <20011010210206.G49828@coffee.q9media.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 10 Oct 2001, Mike Barcroft wrote: > > I don't really understand the context. Are you proposing I use it > instead of strnstr(3)? If so, that's not what strnstr(3) is intended > to do; it's designed for strings only. No I propose it for searching binary substring in binary string. strnstr is now ok. > > Best regards, > Mike Barcroft > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message