From owner-freebsd-standards@FreeBSD.ORG Fri Apr 23 06:53:18 2010 Return-Path: Delivered-To: standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 997861065672 for ; Fri, 23 Apr 2010 06:53:18 +0000 (UTC) (envelope-from tmueller@sysgo.com) Received: from mail.sysgo.com (mail.sysgo.com [195.145.229.155]) by mx1.freebsd.org (Postfix) with ESMTP id 590578FC0A for ; Fri, 23 Apr 2010 06:53:17 +0000 (UTC) Received: from donald.sysgo.com (unknown [172.22.1.30]) by mail.sysgo.com (Postfix) with ESMTP id A366E74099; Fri, 23 Apr 2010 08:31:03 +0200 (CEST) Received: from tom.ulm.sysgo.com (tom.ulm.sysgo.com [172.30.3.10]) by donald.sysgo.com (Postfix) with ESMTP id B93EB34406E; Fri, 23 Apr 2010 08:36:33 +0200 (CEST) Date: Fri, 23 Apr 2010 08:32:12 +0200 From: Thomas Mueller To: Garrett Cooper Message-ID: <20100423083212.78227802@tom.ulm.sysgo.com> In-Reply-To: References: Organization: SYSGO AG X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: standards@freebsd.org Subject: Re: Non-POSIX compliant portions of FreeBSD X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 06:53:18 -0000 On Thu, 22 Apr 2010 18:23:42 -0700, Garrett Cooper wrote: > Continuing on the fun... ioctl (by manpage alone) isn't even close > to being POSIX standard. Here are the differences I spotted at least > [in the ERRORS section]: In an older version of the standard (ISO/IEC 9945-1: 1996, IEEE Std 1003.1, 1996 Edition) ioctl() wasn't mentioned in the 'System Interfaces' section at all. The 'Rationale' section mentioned ioctl() only in combination with the terminal interface and the introduction of the tc*() functions. SUSv2 added ioctl(), but strictly as function pertaining to the STREAMS option. NAME ioctl =E2=80=94control a STREAMS device DESCRIPTION The ioctl () function performs a variety of control functions on STREAMS devices [...] SUSv4 marks all STREAMS related parts as [OB] (obsolescent), including ioctl(). Looks like POSIX never adopted ioctl() until somebody pushed STREAMS into the standard. --=20 Thomas Mueller