From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1180 Path: news.gmane.org!not-for-mail From: orc Newsgroups: gmane.linux.lib.musl.general Subject: Silly question about strncpy(), strlen() and related funcs Date: Tue, 19 Jun 2012 02:54:09 +0800 Message-ID: <20120619025409.4ec1ed49@sibserver.ru> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340045777 11217 80.91.229.3 (18 Jun 2012 18:56:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2012 18:56:17 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1181-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jun 18 20:56:17 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Sgh7Y-0005ed-3D for gllmg-musl@plane.gmane.org; Mon, 18 Jun 2012 20:56:16 +0200 Original-Received: (qmail 18419 invoked by uid 550); 18 Jun 2012 18:56:15 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 18411 invoked from network); 18 Jun 2012 18:56:15 -0000 X-Mailer: claws-mail Xref: news.gmane.org gmane.linux.lib.musl.general:1180 Archived-At: Did not reached Rich privately, so I want to ask publicly: What ALIGN and additional checks like 'if (((uintptr_t)s & ALIGN) == ((uintptr_t)d & ALIGN))' {...} are mean in src/string/strpcpy.c and similiar functions? Thanks.