Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261450AbUK1LWN (ORCPT ); Sun, 28 Nov 2004 06:22:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261442AbUK1LWN (ORCPT ); Sun, 28 Nov 2004 06:22:13 -0500 Received: from rev.193.226.233.139.euroweb.hu ([193.226.233.139]:10466 "EHLO dorka.pomaz.szeredi.hu") by vger.kernel.org with ESMTP id S261436AbUK1LWL (ORCPT ); Sun, 28 Nov 2004 06:22:11 -0500 To: ecki-news2004-05@lina.inka.de CC: linux-kernel@vger.kernel.org In-reply-to: (message from Bernd Eckenfels on Sun, 28 Nov 2004 11:28:29 +0100) Subject: Re: Problem with ioctl command TCGETS References: Message-Id: From: Miklos Szeredi Date: Sun, 28 Nov 2004 12:22:03 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 642 Lines: 14 > The set-get is supposed to be used for queries, too? The size of value is > only used for the get case to describe the buffer length in that case? > because otherwise the set-get case may require a short value in and a large > answer structure out. You misunderstand the motivation. This is to get/set small compact parameters, not huge structures or big data. Think get/setsockopt(). Miklos - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/