From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 29 02:40:55 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACEE016A418 for ; Sat, 29 Sep 2007 02:40:55 +0000 (UTC) (envelope-from ighighi@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id 675B013C447 for ; Sat, 29 Sep 2007 02:40:55 +0000 (UTC) (envelope-from ighighi@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so2139793wxd for ; Fri, 28 Sep 2007 19:40:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=wrilX8MEOhxTlJzdp1LNRqeDYulpd61SPIcxH4iCTjQ=; b=RJOsD+TBnJ9IQfAoPm/ZW95RqG3TojKVHM0SJYstSEGdJkznyN7ISXKMHliRHeXO0GJdpoc4RGrElIXK6acS+P3h53PxOQ/ThtXmp3H3veNwUgFOTdU040TwH7lqiepKi+rOVQlWsedeVuO0pwWCuw92pYcVr2T9DyRZrxYHTOQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=s+eRQeZbycNvT2EMPumUG7c2GQXKaQSq2h7VLM4UE7PKXIIe/zRurDRqUn7qdPWBm3aTUBJstxdLBchLJBzTqanP87Kd9wvrRtew7dU1/UcIEwRMLOniONQOsQkf/ZL+Y5rtQSqjc8ktvgOtXwsSJj+7rCECRucUerDvFkgG4ZU= Received: by 10.90.89.5 with SMTP id m5mr7001870agb.1191033654418; Fri, 28 Sep 2007 19:40:54 -0700 (PDT) Received: from orion.nebula.mil ( [200.44.87.172]) by mx.google.com with ESMTPS id l43sm4126143wrl.2007.09.28.19.40.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 28 Sep 2007 19:40:52 -0700 (PDT) Message-ID: <46FDBAFC.1010000@gmail.com> Date: Fri, 28 Sep 2007 22:39:56 -0400 From: Ighighi User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: POSIXfy readlink() call X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2007 02:40:55 -0000 The POXIX prototype for readlink(2) is: ssize_t readlink(const char *restrict path, char *restrict buf, size_t bufsize); See: http://www.opengroup.org/onlinepubs/000095399/functions/readlink.html NetBSD already did it: http://netbsd.gw.com/cgi-bin/man-cgi?readlink+2+ It'd be good have it corrected in 7.0. Salutes, Igh.